Skip to content

Commit 9949018

Browse files
authored
Update cadvisor.subdomain.conf.sample
1 parent fddab72 commit 9949018

1 file changed

Lines changed: 0 additions & 18 deletions

File tree

cadvisor.subdomain.conf.sample

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -53,22 +53,4 @@ server {
5353
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
5454

5555
}
56-
57-
location ~ (/cadvisor)?/metrics {
58-
# enable the next two lines for http auth
59-
#auth_basic "Restricted";
60-
#auth_basic_user_file /config/nginx/.htpasswd;
61-
62-
# block metrics access by default because it is unprotected
63-
# you can comment out the next line to enable remote metrics
64-
deny all;
65-
66-
include /config/nginx/proxy.conf;
67-
include /config/nginx/resolver.conf;
68-
set $upstream_app cadvisor;
69-
set $upstream_port 8080;
70-
set $upstream_proto http;
71-
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
72-
73-
}
7456
}

0 commit comments

Comments
 (0)