We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fddab72 commit 9949018Copy full SHA for 9949018
1 file changed
cadvisor.subdomain.conf.sample
@@ -53,22 +53,4 @@ server {
53
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
54
55
}
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
- }
74
0 commit comments