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

[enh] nginx conf: proxy_pass to access the ui on /duniter/ and the API on /duniter/api.

This commit is contained in:
Moul 2016-06-23 17:53:34 +00:00
parent 58b7fbd356
commit f47ce16fa1

View file

@ -4,6 +4,11 @@ location YNH_EXAMPLE_PATH/ {
proxy_set_header Host $host;
proxy_buffering off;
location ^~ /duniter/api/ {
proxy_pass http://YNH_EXAMPLE_DOMAIN:YNH_EXAMPLE_PORT/;
}
# Include SSOWAT user panel.
include conf.d/yunohost_panel.conf.inc;
}