1
0
Fork 0
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:
Moul 2016-06-23 18:05:13 +00:00
parent 6870bab1a2
commit 6cca02f01c

View file

@ -4,7 +4,7 @@ location YNH_EXAMPLE_PATH/ {
proxy_set_header Host $host;
proxy_buffering off;
location ^~ /duniter/api/ {
location ^~ YNH_EXAMPLE_PATH/api/ {
proxy_pass http://YNH_EXAMPLE_DOMAIN:YNH_EXAMPLE_PORT/;
}