r/web/p-nextcloud: Set ProxyPreserveHost
The Internet-facing reverse proxy needs to pass the correct Host header value in order for Nextcloud to correctly determine its own name. https://github.com/nextcloud/desktop/issues/1284
This commit is contained in:
@@ -8,6 +8,7 @@ SSLCertificateKeyFile /etc/pki/tls/private/pyrocufflink.net.key
|
||||
|
||||
SSLProxyEngine On
|
||||
ProxyRequests Off
|
||||
ProxyPreserveHost On
|
||||
ProxyPass / https://cloud0.pyrocufflink.blue/
|
||||
ProxyPassReverse / https://cloud0.pyrocufflink.blue/
|
||||
</VirtualHost>
|
||||
|
||||
Reference in New Issue
Block a user