mirror of
https://github.com/nextcloud/all-in-one.git
synced 2024-12-29 02:00:45 +08:00
Merge pull request #2024 from Verhoeckx/patch-1
Add the directive ProxyPassReverse
This commit is contained in:
commit
f97bfc7dd1
1 changed files with 3 additions and 0 deletions
|
@ -48,7 +48,10 @@ Add this as a new Apache site config:
|
||||||
RewriteEngine On
|
RewriteEngine On
|
||||||
ProxyPreserveHost On
|
ProxyPreserveHost On
|
||||||
AllowEncodedSlashes NoDecode
|
AllowEncodedSlashes NoDecode
|
||||||
|
|
||||||
ProxyPass / http://localhost:11000/ nocanon
|
ProxyPass / http://localhost:11000/ nocanon
|
||||||
|
ProxyPassReverse / http://localhost:11000/
|
||||||
|
|
||||||
RewriteCond %{HTTP:Upgrade} websocket [NC]
|
RewriteCond %{HTTP:Upgrade} websocket [NC]
|
||||||
RewriteCond %{HTTP:Connection} upgrade [NC]
|
RewriteCond %{HTTP:Connection} upgrade [NC]
|
||||||
RewriteCond %{THE_REQUEST} "^[a-zA-Z]+ /(.*) HTTP/\d+(\.\d+)?$"
|
RewriteCond %{THE_REQUEST} "^[a-zA-Z]+ /(.*) HTTP/\d+(\.\d+)?$"
|
||||||
|
|
Loading…
Reference in a new issue