Merge pull request #835 from nextcloud/enh/834/push-proxy

apache documentation - make the push proxy work
This commit is contained in:
Simon L 2022-06-27 12:54:17 +02:00 committed by GitHub
commit d462813e4f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,7 +20,7 @@ In order to run Nextcloud behind a reverse proxy, you need to specify the port t
<summary>click here to expand</summary> <summary>click here to expand</summary>
**Disclaimer:** It might be possible that the config below is not working 100% correctly, yet. Improvements to it are very welcome! **Disclaimer:** It might be possible that the config below is not working 100% correctly, yet. See e.g. https://github.com/nextcloud/all-in-one/issues/834. Improvements to it are very welcome!
Add this as a new Apache site config: Add this as a new Apache site config:
@ -45,7 +45,7 @@ Add this as a new Apache site config:
ProxyPreserveHost On ProxyPreserveHost On
RewriteCond %{HTTP:Upgrade} websocket [NC] RewriteCond %{HTTP:Upgrade} websocket [NC]
RewriteCond %{HTTP:Connection} upgrade [NC] RewriteCond %{HTTP:Connection} upgrade [NC]
RewriteRule .* "ws://localhost:11000/$1" [P,L] RewriteRule ^/(.*) "ws://localhost:11000/$1" [P,L]
ProxyPass / http://localhost:11000/ ProxyPass / http://localhost:11000/
ProxyPassReverse / http://localhost:11000/ ProxyPassReverse / http://localhost:11000/