Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save RahulMahale/25a4503fda39427dd82cd3c5f942656f to your computer and use it in GitHub Desktop.
Save RahulMahale/25a4503fda39427dd82cd3c5f942656f to your computer and use it in GitHub Desktop.
####If you are using AWS ELB and nginx as an web server,
####to enable the access logs with details add the following diriectives to your nginx configuration
real_ip_header X-Forwarded-For;
set_real_ip_from 10.70.0.0/16;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment