1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/monitorix_ynh.git synced 2024-09-03 19:46:06 +02:00

Listen only locally for nginx status

This commit is contained in:
Josué Tille 2024-04-04 12:12:04 +02:00
parent 50db151bfd
commit 92d8ebddd9
No known key found for this signature in database
GPG key ID: 5F259226AD51F2F5

View file

@ -1,6 +1,6 @@
server {
listen {{ port_nginx_status }};
listen [::]:{{ port_nginx_status }};
listen 127.0.0.1:{{ port_nginx_status }};
listen [::1]:{{ port_nginx_status }};
access_log /var/log/nginx/localhost-nginx_status_monitorix.lan-access.log;
error_log /var/log/nginx/localhost-nginx_status_monitorix.lan-error.log;