diff --git a/docker/nginx/nginx.conf b/docker/nginx/nginx.conf index c79483b..e31693b 100644 --- a/docker/nginx/nginx.conf +++ b/docker/nginx/nginx.conf @@ -10,16 +10,14 @@ events { http { include /etc/nginx/mime.types; default_type application/octet-stream; - - # Basic log format - log_format main '$remote_addr - $remote_user [$time_local] "$request" ' - '$status $body_bytes_sent "$http_referer" ' - '"$http_user_agent" "$http_x_forwarded_for"'; - + + log_format main '$remote_addr - $remote_user [$time_local] "$request" $status ' + '$body_bytes_sent "$http_referer" "$http_user_agent" "$http_x_forwarded_for"'; + access_log /var/log/nginx/access.log main; - + sendfile on; keepalive_timeout 65; - + include /etc/nginx/conf.d/*.conf; } \ No newline at end of file