Loading docker-compose.yml +10 −3 Original line number Diff line number Diff line Loading @@ -20,8 +20,6 @@ services: context: . dockerfile: Dockerfile logging: *default-logging ports: - 8100:8080 restart: unless-stopped environment: SEARX_SECRET: "${SEARX_SECRET}" Loading @@ -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 etc/nginx/proxy_spot_params +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; Loading Loading
docker-compose.yml +10 −3 Original line number Diff line number Diff line Loading @@ -20,8 +20,6 @@ services: context: . dockerfile: Dockerfile logging: *default-logging ports: - 8100:8080 restart: unless-stopped environment: SEARX_SECRET: "${SEARX_SECRET}" Loading @@ -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
etc/nginx/proxy_spot_params +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; Loading