dir2cast
dir2cast copied to clipboard
nginx: detect HTTPS reverse proxy and forward the information to PHP
Nothing was working in my reverse proxy setup, and after banging my head against the desk for a while I figured out that PHP had no way to know it needed to construct URIs which start with https://, but that information wasn't being forwarded all the way down to PHP.
This change fixes it.