diff --git a/dockerfiles/nginx/proxito.conf.template b/dockerfiles/nginx/proxito.conf.template index e1c10f0b07d..9a1d5c72ffe 100644 --- a/dockerfiles/nginx/proxito.conf.template +++ b/dockerfiles/nginx/proxito.conf.template @@ -3,6 +3,10 @@ server { listen 80 default_server; server_name $NGINX_PROXITO_SERVER_NAME; + # Docker Compose's "logging.driver: none" is not working anymore. + # So, we are disabling the logs from NGINX directly. + access_log off; + # TODO: serve the favicon.ico from the project/version itself instead location /favicon.ico { proxy_pass http://storage:9000/static/images/favicon.ico; diff --git a/dockerfiles/nginx/web.conf.template b/dockerfiles/nginx/web.conf.template index b9da00fbc97..14296611ea9 100644 --- a/dockerfiles/nginx/web.conf.template +++ b/dockerfiles/nginx/web.conf.template @@ -4,6 +4,10 @@ server { # This should match settings.PRODUCTION_DOMAIN server_name $NGINX_WEB_SERVER_NAME; + # Docker Compose's "logging.driver: none" is not working anymore. + # So, we are disabling the logs from NGINX directly. + access_log off; + location /favicon.ico { proxy_pass http://storage:9000/static/images/favicon.ico; break;