|
|
@ -84,14 +84,6 @@ location = /xmpp-websocket { |
|
|
|
} |
|
|
|
} |
|
|
|
{{ end }} |
|
|
|
{{ end }} |
|
|
|
|
|
|
|
|
|
|
|
location ~ ^/([^/?&:'"]+)$ { |
|
|
|
|
|
|
|
try_files $uri @root_path; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
location @root_path { |
|
|
|
|
|
|
|
rewrite ^/(.*)$ / break; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{{ if .Env.ETHERPAD_URL_BASE }} |
|
|
|
{{ if .Env.ETHERPAD_URL_BASE }} |
|
|
|
# Etherpad-lite |
|
|
|
# Etherpad-lite |
|
|
|
location /etherpad/ { |
|
|
|
location /etherpad/ { |
|
|
@ -106,6 +98,14 @@ location /etherpad/ { |
|
|
|
} |
|
|
|
} |
|
|
|
{{ end }} |
|
|
|
{{ end }} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
location ~ ^/([^/?&:'"]+)$ { |
|
|
|
|
|
|
|
try_files $uri @root_path; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
location @root_path { |
|
|
|
|
|
|
|
rewrite ^/(.*)$ / break; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
{{ if $ENABLE_SUBDOMAINS }} |
|
|
|
{{ if $ENABLE_SUBDOMAINS }} |
|
|
|
location ~ ^/([^/?&:'"]+)/config.js$ |
|
|
|
location ~ ^/([^/?&:'"]+)/config.js$ |
|
|
|
{ |
|
|
|
{ |
|
|
|