nginx fix rewrite
This commit is contained in:
@@ -21,7 +21,7 @@ server {
|
|||||||
}
|
}
|
||||||
|
|
||||||
location /etherpad {
|
location /etherpad {
|
||||||
rewrite /etherpad/(.*) $1 break;
|
rewrite /etherpad/(.*) /$1 break;
|
||||||
rewrite ^/etherpad$ /etherpad/ permanent;
|
rewrite ^/etherpad$ /etherpad/ permanent;
|
||||||
proxy_pass http://etherpad:9001;
|
proxy_pass http://etherpad:9001;
|
||||||
proxy_redirect / /etherpad/;
|
proxy_redirect / /etherpad/;
|
||||||
|
|||||||
Reference in New Issue
Block a user