Turns out the X-Real-IP variable is being pulled OK in our production environment anyway, so we can work around. Thanks everyone.by gmcdougall - How to...
Hello. We are using nginx as a reverse-proxy feeding into a Django/WSGI/gunicorn environment. We are planning to upgrade the web site and need to show a custom 503 page. This is trivial, but we also need to be able to access the web site internally at the same time for testing. The methods of doing this that I can find all use $remote_addr or some variant on pulling the X-Forwarded-For headerby gmcdougall - How to...
![]() |
![]() |
![]() |
![]() |
|