diff --git a/docker/nginx/nginx.conf b/docker/nginx/nginx.conf index 56199ec..8918c89 100644 --- a/docker/nginx/nginx.conf +++ b/docker/nginx/nginx.conf @@ -8,14 +8,16 @@ events { } http { - include /etc/nginx/mime.types; - default_type application/octet-stream; - - - 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 + include /etc/nginx/mime.types; + default_type application/octet-stream; + + log_format main '$remote_addr - $remote_user [$time_local] ' + '"$request" $status $body_bytes_sent ' + '"$http_referer" "$http_user_agent"'; + + 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