Remove netdata vhosts
we are no longer using netdata
This commit is contained in:
parent
760d2fe9df
commit
4dafe9ee93
@ -216,33 +216,6 @@
|
||||
- resolver 8.8.8.8 valid=300s
|
||||
- add_header Strict-Transport-Security max-age=31536000
|
||||
- error_page 404 /404.html
|
||||
netdata.asininetech.net.http:
|
||||
- listen {{ ansible_default_ipv4.address }}:80
|
||||
- listen [{{ ansible_default_ipv6.address }}]:80
|
||||
- server_name netdata.asininetech.net
|
||||
- return 301 "https://$host$request_uri"
|
||||
netdata.asininetech.net.https:
|
||||
- listen {{ ansible_default_ipv4.address }}:443 ssl http2
|
||||
- listen [{{ ansible_default_ipv6.address }}]:443 ssl http2
|
||||
- server_name netdata.asininetech.net
|
||||
- root "/srv/www/netdata.asininetech.net"
|
||||
- access_log off
|
||||
- error_log "/var/log/nginx/netdata.asininetech.net.error.log"
|
||||
- ssl_certificate "/etc/ssl/letsencrypt/netdata.asininetech.net.crt"
|
||||
- ssl_certificate_key "/etc/ssl/letsencrypt/netdata.asininetech.net.pem"
|
||||
- ssl_stapling on
|
||||
- resolver 8.8.8.8 valid=300s
|
||||
- add_header Strict-Transport-Security max-age=31536000
|
||||
- location / {
|
||||
proxy_set_header X-Forwarded-Host $host;
|
||||
proxy_set_header X-Forwarded-Server $host;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_pass http://netdata;
|
||||
proxy_http_version 1.1;
|
||||
proxy_pass_request_headers on;
|
||||
proxy_set_header Connection "keep-alive";
|
||||
proxy_store off;
|
||||
}
|
||||
nginx_configs:
|
||||
gzip:
|
||||
- gzip on
|
||||
|
Loading…
Reference in New Issue
Block a user