diff options
author | fox <[email protected]> | 2017-07-17 04:31:14 +0000 |
---|---|---|
committer | Gogs <[email protected]> | 2017-07-17 04:31:14 +0000 |
commit | 2cdef2488821c27acb6f67cad82999fe4fdb8a88 (patch) | |
tree | fc536b1228b5c671fb0eb420fb2e2b4431b29b1a /install | |
parent | 9fa3ae09a6fe791805ee63e87fcac970e3f037ed (diff) | |
parent | e234ac8dcb2fa73bc573fea1e809ef45b3392ca7 (diff) |
Merge branch 'master' of KKozlowski/tt-rss into master
Diffstat (limited to 'install')
-rwxr-xr-x | install/index.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/install/index.php b/install/index.php index 4239f5893..883573001 100755 --- a/install/index.php +++ b/install/index.php @@ -180,7 +180,7 @@ } function is_server_https() { - return $_SERVER['HTTPS'] == 'on' || $_SERVER['HTTP_X_FORWARDED_PROTO'] == 'https'; + return (!empty($_SERVER['HTTPS']) && ($_SERVER['HTTPS'] != 'off')) || $_SERVER['HTTP_X_FORWARDED_PROTO'] == 'https'; } function make_self_url_path() { |