web: fix matching etherpad location

To avoid /etherpad/ matched by fallback:
location ~ ^/([^/?&:'"]+)/(.*)$
pull/1255/head
Yu Changyuan 3 years ago committed by GitHub
parent 3afc1e3c12
commit eca5d161c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      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';

Loading…
Cancel
Save