Commit a3080bb4 authored by omega8cc's avatar omega8cc

Use $proxy_add_x_forwarded_for instead of $remote_addr in the Nginx access log.

Signed-off-by: omega8cc's avatarBarracuda Team <>
parent d4106fc4
......@@ -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"';
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment