1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/etherpad_ynh.git synced 2024-09-03 18:36:10 +02:00

Update nginx.conf

This commit is contained in:
abeudin 2014-01-10 15:20:00 +01:00
parent 401a11df36
commit 2140debf60

View file

@ -2,10 +2,10 @@ location PATHTOCHANGE {
if ($scheme = http) {
rewrite ^ https://$server_name$request_uri? permanent;
}
rewrite /pad/(.*) /$1 break;
rewrite ^/pad$ /pad/ permanent;
rewrite /PATHTOCHANGE/(.*) /$1 break;
rewrite ^/PATHTOCHANGE$ /PATHTOCHANGE/ permanent;
proxy_pass http://localhost:9001/;
proxy_redirect / /pad/;
proxy_redirect / /PATHTOCHANGE/;
proxy_set_header Host $host;
proxy_buffering off;
}