web: fix matching etherpad location
To avoid /etherpad/ matched by fallback: location ~ ^/([^/?&:'"]+)/(.*)$
This commit is contained in:
@@ -86,7 +86,7 @@ location = /xmpp-websocket {
|
|||||||
|
|
||||||
{{ if .Env.ETHERPAD_URL_BASE }}
|
{{ if .Env.ETHERPAD_URL_BASE }}
|
||||||
# Etherpad-lite
|
# Etherpad-lite
|
||||||
location /etherpad/ {
|
location ^~ /etherpad/ {
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
proxy_set_header Connection 'upgrade';
|
proxy_set_header Connection 'upgrade';
|
||||||
|
|||||||
Reference in New Issue
Block a user