diff --git a/http/nginx/server.tpl.php b/http/nginx/server.tpl.php index 816a2b0681cfa3652c32e252e6cd9718b0ac40e0..90ef8a758a38b6f7b89a7f01a94a77804d7f1e0a 100644 --- a/http/nginx/server.tpl.php +++ b/http/nginx/server.tpl.php @@ -107,7 +107,7 @@ if ($nginx_has_upload_progress) { ?> ## Log Format - log_format main '"$remote_addr" $host [$time_local] ' + log_format main '"$proxy_add_x_forwarded_for" $host [$time_local] ' '"$request" $status $body_bytes_sent ' '$request_length $bytes_sent "$http_referer" ' '"$http_user_agent" $request_time "$gzip_ratio"';