mirror of
https://github.com/bitnami/containers.git
synced 2026-02-15 00:57:23 +08:00
Fix access log not following specified format (#41788)
Update nginx.conf Signed-off-by: fzyzcjy <5236035+fzyzcjy@users.noreply.github.com>
This commit is contained in:
@@ -15,7 +15,7 @@ http {
|
||||
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 "/opt/bitnami/openresty/nginx/logs/access.log";
|
||||
access_log "/opt/bitnami/openresty/nginx/logs/access.log" main;
|
||||
add_header X-Frame-Options SAMEORIGIN;
|
||||
|
||||
client_body_temp_path "/opt/bitnami/openresty/nginx/tmp/client_body" 1 2;
|
||||
|
||||
Reference in New Issue
Block a user