mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2026-07-09 01:52:34 +02:00
block metrics access by default
This commit is contained in:
@@ -54,6 +54,10 @@ location ^~ /grafana/metrics {
|
||||
#auth_basic "Restricted";
|
||||
#auth_basic_user_file /config/nginx/.htpasswd;
|
||||
|
||||
# block metrics access by default because it is unprotected
|
||||
# you can comment out the next line to enable remote metrics
|
||||
deny all;
|
||||
|
||||
include /config/nginx/proxy.conf;
|
||||
include /config/nginx/resolver.conf;
|
||||
set $upstream_grafana grafana;
|
||||
|
||||
Reference in New Issue
Block a user