Open Spectrelai opened 3 years ago
Environment: Use npm for proxy nextcloud http to https Example: When using https://customnextcloud.com:2222, nextcloud will redirect it to https://customnextcloud.com
Modifying /etc/nginx/conf.d/include/proxy.conf can solve this problem proxy_set_header Host $host; -> proxy_set_header Host $http_host;
You also can fix this use 'overwritehost' => 'customnextcloud.com:2222', in config.php
'overwritehost' => 'customnextcloud.com:2222',
Issue is now considered stale. If you want to keep it open, please comment :+1:
Environment: Use npm for proxy nextcloud http to https Example: When using https://customnextcloud.com:2222, nextcloud will redirect it to https://customnextcloud.com
Modifying /etc/nginx/conf.d/include/proxy.conf can solve this problem proxy_set_header Host $host; -> proxy_set_header Host $http_host;