Apache: set X-Forwarded-Proto header

This commit is contained in:
Simon Li
2022-02-28 21:46:53 +00:00
parent a9ea064202
commit b1ffd4b10b

View File

@@ -208,6 +208,7 @@ Listen 443
# proxy to JupyterHub
ProxyPass http://127.0.0.1:8000/
ProxyPassReverse http://127.0.0.1:8000/
RequestHeader set "X-Forwarded-Proto" expr=%{REQUEST_SCHEME}
</Location>
</VirtualHost>
```