mirror of
https://github.com/YunoHost-Apps/etherpad_ynh.git
synced 2024-09-03 18:36:10 +02:00
[fix] Subpath install
This commit is contained in:
parent
92d6c03553
commit
3e4e814bbb
1 changed files with 1 additions and 6 deletions
|
@ -1,11 +1,6 @@
|
|||
location PATHTOCHANGE {
|
||||
if ($scheme = http) {
|
||||
rewrite ^ https://$server_name$request_uri? permanent;
|
||||
}
|
||||
rewrite PATHTOCHANGE/(.*) /$1 break;
|
||||
location PATHTOCHANGE/ {
|
||||
rewrite ^PATHTOCHANGE$ PATHTOCHANGE/ permanent;
|
||||
proxy_pass http://localhost:9001/;
|
||||
proxy_redirect / PATHTOCHANGE/;
|
||||
proxy_set_header Host $host;
|
||||
proxy_buffering off;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue