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
jenkins-master
Dustin 2021-10-02 11:27:49 -05:00
parent 11357a9df3
commit cbcc0318f6
1 changed files with 1 additions and 0 deletions

View File

@ -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>