-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reverse Https Proxy Links use Http #1859
Comments
@weisental Try to add this to your nginx config:
|
Thanks, works like a charm |
FYI for anyone finding this doesn’t seem to work, I found it also necessary to modify the Yii configuration which, by default, filters the If your setup is already sufficiently firewalled such that only the reverse proxy has access, one solution could be to eliminate the header filtering via the following (in return [
'components' => [
'request' => [
'secureHeaders' => [],
],
]
]; Alternatively you can set an IP whitelist via |
Hi,
humhub Version: 1.0.1
Setup
Nginx SSL -> ProxyPass -> docker 3333:80 apache
BaseUrl Setting https://hum.dikas.de
Problem:
Uploaded Files links to http://hum.dikas.de/...
Nginx
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Server $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_buffering off;
proxy_set_header Host $http_host;
Thx
Jürgen Weisental
The text was updated successfully, but these errors were encountered: