modxcms/revolution — pull request #11207 by 13hakta (2014-03-14 05:42:41+00:00)
Title: Better support SSL through proxified server

Add support for HTTP header HTTP_X_FORWARDED_PROTO with https mode.

On NGINX frontend also needed to add to server part:

proxy_set_header X-Forwarded-Proto $scheme;
add_header Front-End-Https on;