aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Wfinger.php
diff options
context:
space:
mode:
authornobody <nobody@zotlabs.com>2021-04-16 04:42:45 -0700
committernobody <nobody@zotlabs.com>2021-04-16 04:42:45 -0700
commita96345401f47be71a6eef531e204c0e25b792a16 (patch)
tree4afde386815934f9f395353b0d1d38cfd7f2592c /Zotlabs/Module/Wfinger.php
parent9359fc065c72243bd85f0fc3db842976f07183cc (diff)
parent7ccd7b439f5a029384ecb28911a0df6f6d658231 (diff)
downloadvolse-hubzilla-a96345401f47be71a6eef531e204c0e25b792a16.tar.gz
volse-hubzilla-a96345401f47be71a6eef531e204c0e25b792a16.tar.bz2
volse-hubzilla-a96345401f47be71a6eef531e204c0e25b792a16.zip
Merge branch 'dev' of https://framagit.org/hubzilla/core into dev
Diffstat (limited to 'Zotlabs/Module/Wfinger.php')
-rw-r--r--Zotlabs/Module/Wfinger.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/Zotlabs/Module/Wfinger.php b/Zotlabs/Module/Wfinger.php
index 6f2864615..46da7f007 100644
--- a/Zotlabs/Module/Wfinger.php
+++ b/Zotlabs/Module/Wfinger.php
@@ -20,6 +20,8 @@ class Wfinger extends \Zotlabs\Web\Controller {
$scheme = 'https';
elseif(x($_SERVER,'SERVER_PORT') && (intval($_SERVER['SERVER_PORT']) == 443))
$scheme = 'https';
+ elseif(x($_SERVER,'HTTP_X_FORWARDED_PROTO') && ($_SERVER['HTTP_X_FORWARDED_PROTO'] == 'https'))
+ $scheme = 'https';
$zot = intval($_REQUEST['zot']);