diff --git a/default.conf b/default.conf index 2ec0359..3d4e294 100644 --- a/default.conf +++ b/default.conf @@ -5,7 +5,9 @@ server { listen 80 default_server; listen [::]:80 default_server; - access_log /dev/stdout; + # get real client IP address + real_ip_header X-Forwarded-For; + access_log /dev/stdout main; default_type 'text/plain'; # Everything is a 200