dokku-alt/dokku-alt — pull request #36 by yabawock (2014-09-13 21:38:53+00:00)
Title: Feature/forwarded for

Since NGINX is acting as a reverse proxy the X-Forwarded-For Header should always be set, independent of HTTP or HTTPS connections.

Also NGINX provides a variable that keeps the whole forwarding information available if the X-Forwarded-For Header has been set by a proxy server further up in the connection chain.