mirror of
https://github.com/YunoHost-Apps/monitorix_ynh.git
synced 2024-09-03 19:46:06 +02:00
12 lines
302 B
Nginx Configuration File
12 lines
302 B
Nginx Configuration File
|
location YNH_WWW_PATH {
|
||
|
include proxy_params;
|
||
|
proxy_pass http://127.0.0.1:SERVICE_PORTYNH_WWW_PATH;
|
||
|
allow 127.0.0.0/8;
|
||
|
|
||
|
location ~ ^YNH_WWW_PATH/(.+\.png)$ {
|
||
|
alias /var/lib/monitorix/www/$1;
|
||
|
}
|
||
|
|
||
|
# Include SSOWAT user panel.
|
||
|
include conf.d/yunohost_panel.conf.inc;
|
||
|
}
|