]> git.mxchange.org Git - friendica.git/commit
Enable SSL on standard and well-known HTTP headers
authorOlivier Mehani <shtrom+friendica@ssji.net>
Tue, 9 Feb 2016 10:04:48 +0000 (10:04 +0000)
committerOlivier Mehani <shtrom@ssji.net>
Sun, 14 Feb 2016 02:28:59 +0000 (13:28 +1100)
commite5c7a0cf9369f39abcd8ef75e6edfb6c2b2b241a
treec87206ed3d309fca6fc53b74aa30359eb8c70c67
parentd0b5c16a209562e482de9cde9a722f06e8937bf2
Enable SSL on standard and well-known HTTP headers

Look for the `Forwarded` header with `proto=https`, as specified
in RFC7239 (strictly expecting no whitespace around the = sign).
This also add similar support for `X-Forwarded-Proto: https`,
`Front-End-Https: on` and `X-Forwarded-Ssl: on` (all case-sensitive).

Also add some documentation about this, and an NginX configuration
example, in INSTALL.txt

This should fix #757.

Signed-off-by: Olivier Mehani <shtrom+friendica@ssji.net>
INSTALL.txt
boot.php