Browse Source

web: fix matching etherpad location

To avoid /etherpad/ matched by fallback:
location ~ ^/([^/?&:'"]+)/(.*)$
Yu Changyuan 3 năm trước cách đây
mục cha
commit
eca5d161c9
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      web/rootfs/defaults/meet.conf

+ 1 - 1
web/rootfs/defaults/meet.conf

@@ -86,7 +86,7 @@ location = /xmpp-websocket {
 
 {{ if .Env.ETHERPAD_URL_BASE }}
 # Etherpad-lite
-location /etherpad/ {
+location ^~ /etherpad/ {
     proxy_http_version 1.1;
     proxy_set_header Upgrade $http_upgrade;
     proxy_set_header Connection 'upgrade';