Remove netdata vhosts

we are no longer using netdata
This commit is contained in:
Sadiq Saif 2017-11-09 11:10:36 -05:00 committed by GitHub
parent 760d2fe9df
commit 4dafe9ee93
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 27 deletions

View File

@ -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