Add server and container monitoring
This commit is contained in:
20
nginx.conf
20
nginx.conf
@@ -442,6 +442,26 @@ http {
|
||||
}
|
||||
}
|
||||
|
||||
upstream cadvisor-handler {
|
||||
server cadvisor:8080;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 443 ssl http2;
|
||||
|
||||
ssl_certificate /etc/nginx/certs/scarif.local.crt;
|
||||
ssl_certificate_key /etc/nginx/certs/scarif.local.key;
|
||||
|
||||
gzip_types text/plain text/css application/json application/x-javascript
|
||||
text/xml application/xml application/xml+rss text/javascript;
|
||||
|
||||
server_name monitoring.scarif.local;
|
||||
|
||||
location / {
|
||||
proxy_pass http://cadvisor-handler;
|
||||
}
|
||||
}
|
||||
|
||||
server {
|
||||
listen 80 default_server;
|
||||
listen [::]:80 default_server;
|
||||
|
||||
Reference in New Issue
Block a user