Nginx show full url in access log

To show the full URL in nginx access log, add the following

If you are behind reverse proxy, replace $remote_addr with $http_x_forwarded_for

See Nginx

Need help with Linux Server or WordPress? We can help!

Leave a Reply

Your email address will not be published. Required fields are marked *