mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-22 07:26:55 +00:00
Merge pull request #835 from nextcloud/enh/834/push-proxy
apache documentation - make the push proxy work
This commit is contained in:
commit
d462813e4f
1 changed files with 2 additions and 2 deletions
|
|
@ -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>
|
||||
|
||||
**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:
|
||||
|
||||
|
|
@ -45,7 +45,7 @@ Add this as a new Apache site config:
|
|||
ProxyPreserveHost On
|
||||
RewriteCond %{HTTP:Upgrade} websocket [NC]
|
||||
RewriteCond %{HTTP:Connection} upgrade [NC]
|
||||
RewriteRule .* "ws://localhost:11000/$1" [P,L]
|
||||
RewriteRule ^/(.*) "ws://localhost:11000/$1" [P,L]
|
||||
ProxyPass / http://localhost:11000/
|
||||
ProxyPassReverse / http://localhost:11000/
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue