I need to see the headers nginx is passing along, and I found a lovely website called http://httpbin.org that lets you see all sorts of things. Just adding /headers to the path shows me the headers. Great!
So I quickly created a simple nginx.conf to proxy calls there, and even added the X-Forwarded header to be sure it was being set. But I suck at conf'ing. Keep getting a 404. Can anyone see what I'm doing wrong, or at least give me a working conf?
This is what I used.
So I quickly created a simple nginx.conf to proxy calls there, and even added the X-Forwarded header to be sure it was being set. But I suck at conf'ing. Keep getting a 404. Can anyone see what I'm doing wrong, or at least give me a working conf?
This is what I used.