1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/duniter_ynh.git synced 2024-09-03 18:26:35 +02:00

[enh] set proxy_pass to duniter-ui.

This commit is contained in:
Moul 2016-06-23 12:55:56 +00:00
parent f61cc3606f
commit f6020c33c2

View file

@ -1,6 +1,6 @@
location YNH_EXAMPLE_PATH/ { location YNH_EXAMPLE_PATH/ {
rewrite ^YNH_EXAMPLE_PATH$ YNH_EXAMPLE_PATH/ permanent; rewrite ^YNH_EXAMPLE_PATH$ YNH_EXAMPLE_PATH/ permanent;
proxy_pass http://YNH_EXAMPLE_DOMAIN:YNH_EXAMPLE_PORT/; proxy_pass http://localhost:9220/;
proxy_set_header Host $host; proxy_set_header Host $host;
proxy_buffering off; proxy_buffering off;