mirror of
https://github.com/YunoHost-Apps/duniter_ynh.git
synced 2024-09-03 18:26:35 +02:00
[fix] nginx conf: make it works on every path.
This commit is contained in:
parent
6870bab1a2
commit
6cca02f01c
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ location YNH_EXAMPLE_PATH/ {
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
proxy_buffering off;
|
proxy_buffering off;
|
||||||
|
|
||||||
location ^~ /duniter/api/ {
|
location ^~ YNH_EXAMPLE_PATH/api/ {
|
||||||
proxy_pass http://YNH_EXAMPLE_DOMAIN:YNH_EXAMPLE_PORT/;
|
proxy_pass http://YNH_EXAMPLE_DOMAIN:YNH_EXAMPLE_PORT/;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue