diff --git a/HowtoLXD.page b/HowtoLXD.page index a21eb17..3a8e94a 100644 --- a/HowtoLXD.page +++ b/HowtoLXD.page @@ -61,7 +61,10 @@ Nginx : ``` set_real_ip_from W.X.Y.Z; -real_ip_recursive on; +#real_ip_recursive on; real_ip_header X-Forwarded-For; - +log_format custom '$http_x_forwarded_for - $remote_user [$time_local] ' + '"$request" $status $body_bytes_sent ' + '"$http_referer" "$http_user_agent"'; +access_log /var/log/nginx/access.log custom; ``` \ No newline at end of file