Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Verified Commit 99b08ba7 authored by Nicolas Gelot's avatar Nicolas Gelot
Browse files

Update nginx configuration

parent 680fd7cf
Loading
Loading
Loading
Loading
+10 −3
Original line number Diff line number Diff line
@@ -20,8 +20,6 @@ services:
      context: .
      dockerfile: Dockerfile
    logging: *default-logging
    ports:
      - 8100:8080
    restart: unless-stopped
    environment:
      SEARX_SECRET: "${SEARX_SECRET}"
@@ -32,5 +30,14 @@ services:
      GUNICORN_LEVEL: INFO
      NODE_NAME: ${NODE_NAME}


  nginx:
    image: nginx:1.23
    restart: always
    ports:
      - 8100:80
    volumes:
      - ./etc/nginx/conf.d/spot.conf:/etc/nginx/conf.d/default.conf
      - ./etc/nginx/nginx.conf:/etc/nginx/nginx.conf
      - ./etc/nginx/proxy_spot_params:/etc/nginx/proxy_spot_params
      - ./searx/static:/var/www/spot/static
+3 −1
Original line number Diff line number Diff line
proxy_pass http://spot:8080;
proxy_set_header Host $http_host;
proxy_set_header Connection $http_connection;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto https;
proxy_buffering on;