update 22222 ssl configuration

This commit is contained in:
VirtuBox
2019-04-12 02:43:41 +02:00
parent b8fbf44b61
commit 1686775f60
3 changed files with 22 additions and 9 deletions

View File

@@ -7,9 +7,6 @@ server {
access_log /var/log/nginx/22222.access.log rt_cache;
error_log /var/log/nginx/22222.error.log;
ssl_certificate {{webroot}}22222/cert/22222.crt;
ssl_certificate_key {{webroot}}22222/cert/22222.key;
# Force HTTP to HTTPS
error_page 497 =200 https://$host:22222$request_uri;
@@ -65,9 +62,8 @@ server {
proxy_store off;
proxy_pass http://netdata/$ndpath$is_args$args;
gzip on;
gzip_proxied any;
gzip_types *;
}
include {{webroot}}22222/conf/nginx/*.conf;
}