Loading .env.prod +1 −0 Original line number Diff line number Diff line Loading @@ -13,3 +13,4 @@ CI_REGISTRY_IMAGE=image SENTRY_DSN=public_key:gitlab.com SENTRY_TRACES_SAMPLE_RATE=1.0 ENVIRONMENT_NAME=prod LOG_DIRECTORY=/volumes/spot-nginx-log/ docker-compose.prod.yml +2 −3 Original line number Diff line number Diff line Loading @@ -40,9 +40,7 @@ services: ENVIRONMENT_NAME: "${ENVIRONMENT_NAME}" spot-nginx: image: nginx:1.21 # container_name: spot-nginx logging: *default-logging image: nginx:1.23 restart: always networks: - ${INTERNAL_NETWORK_NAME} Loading @@ -51,6 +49,7 @@ services: - ./etc/nginx/nginx.conf:/etc/nginx/nginx.conf - ./etc/nginx/proxy_spot_params:/etc/nginx/proxy_spot_params - ./searx/static:/var/www/spot/static - ${LOG_DIRECRTORY}:/var/log/nginx filtron: image: dalf/filtron:latest Loading etc/nginx/nginx.conf +2 −3 Original line number Diff line number Diff line Loading @@ -2,7 +2,8 @@ user nginx; worker_processes auto; error_log /var/log/nginx/error.log warn; access_log /var/log/nginx/access.log main; error_log /var/log/nginx/error.log main; pid /var/run/nginx.pid; Loading @@ -19,8 +20,6 @@ http { '$status $body_bytes_sent "$http_referer" ' '"$http_user_agent" "$remote_addr"'; access_log /var/log/nginx/access.log main; sendfile on; #tcp_nopush on; Loading Loading
.env.prod +1 −0 Original line number Diff line number Diff line Loading @@ -13,3 +13,4 @@ CI_REGISTRY_IMAGE=image SENTRY_DSN=public_key:gitlab.com SENTRY_TRACES_SAMPLE_RATE=1.0 ENVIRONMENT_NAME=prod LOG_DIRECTORY=/volumes/spot-nginx-log/
docker-compose.prod.yml +2 −3 Original line number Diff line number Diff line Loading @@ -40,9 +40,7 @@ services: ENVIRONMENT_NAME: "${ENVIRONMENT_NAME}" spot-nginx: image: nginx:1.21 # container_name: spot-nginx logging: *default-logging image: nginx:1.23 restart: always networks: - ${INTERNAL_NETWORK_NAME} Loading @@ -51,6 +49,7 @@ services: - ./etc/nginx/nginx.conf:/etc/nginx/nginx.conf - ./etc/nginx/proxy_spot_params:/etc/nginx/proxy_spot_params - ./searx/static:/var/www/spot/static - ${LOG_DIRECRTORY}:/var/log/nginx filtron: image: dalf/filtron:latest Loading
etc/nginx/nginx.conf +2 −3 Original line number Diff line number Diff line Loading @@ -2,7 +2,8 @@ user nginx; worker_processes auto; error_log /var/log/nginx/error.log warn; access_log /var/log/nginx/access.log main; error_log /var/log/nginx/error.log main; pid /var/run/nginx.pid; Loading @@ -19,8 +20,6 @@ http { '$status $body_bytes_sent "$http_referer" ' '"$http_user_agent" "$remote_addr"'; access_log /var/log/nginx/access.log main; sendfile on; #tcp_nopush on; Loading