5
votes
1answer
2k views

How to block Nginx access log statements from specific user agents

I am looking to turn off logging in the Nginx access log file from specific requests from http user agents. Basically from the Amazon ELB Health Check and our external (Pingdom) monitoring. Since ...
0
votes
2answers
706 views

Disable https for certain path in nginx results in instance behind ELB going into redirect loop

I am using elb terminated ssl. I want to force /product/performancesummaries/ to be HTTP only. Here is my current configuration that I am playing around with: user www-data; worker_processes 2; pid ...
2
votes
2answers
4k views

Nginx set_real_ip_from AWS ELB load balancer address

I have a set of Nginx servers behind an Amazon ELB load balancer. I am using set_real_ip (from the HttpRealIpModule) so that I can access the originating client IP address on these servers (for ...