2.5.0-beta-1

This commit is contained in:
chandi
2022-04-17 12:38:25 +02:00
parent ee04ee99e5
commit 2c09d17b95
10 changed files with 47 additions and 19 deletions

View File

@ -1,5 +1,9 @@
# https://github.com/ether/etherpad-lite/wiki/How-to-put-Etherpad-Lite-behind-a-reverse-Proxy
location /pad/p/ {
# Avoid setting the user name from the embedded URL
if ($arg_userName) {
return 401;
}
rewrite /pad/p/(.*) /p/$1 break;
rewrite ^/pad/p$ /pad/p/ permanent;
proxy_pass http://etherpad:9001/p;