mirror of
https://github.com/YunoHost-Apps/wetty_ynh.git
synced 2024-09-03 18:16:29 +02:00
Fix internal redirection
This commit is contained in:
parent
4afe62cb17
commit
55eb2113c3
1 changed files with 2 additions and 3 deletions
|
@ -7,9 +7,8 @@ location __PATH__/ {
|
|||
}
|
||||
|
||||
# Internally redirect /wetty/ to /wetty because the app wants this
|
||||
location =__PATH__/ {
|
||||
rewrite ^__PATH__/$ __PATH__;
|
||||
}
|
||||
# break tells nginx to continue processing the location block
|
||||
rewrite ^__PATH__/$ __PATH__ break;
|
||||
|
||||
proxy_pass http://localhost:__PORT__;
|
||||
proxy_http_version 1.1;
|
||||
|
|
Loading…
Add table
Reference in a new issue