dave-shawley/devpi-cookbook — pull request #8 by itmustbejj (2014-07-24 00:26:03+00:00)
Title: Set a dynamic X-outside-url header in nginx conf

Pass along a dynamically-created X-outside-url header so devpi server can work with ssl in the nginx reverse proxy.

Without this, accessing endpoints such as https://mypypi/+api will return http urls in its json payload, which makes devpi-client sad when trying to communicate over a port configured for ssl.