From 335d575c70016dfcf62204cde694c58319c337bc Mon Sep 17 00:00:00 2001 From: Alexey Pustovalov Date: Mon, 7 Jun 2021 09:44:31 -0400 Subject: [PATCH] Fixed SSL warnings --- web-nginx-mysql/alpine/conf/etc/zabbix/nginx.conf | 4 +++- web-nginx-mysql/alpine/conf/etc/zabbix/nginx_ssl.conf | 6 ++---- web-nginx-mysql/centos/conf/etc/zabbix/nginx.conf | 4 +++- web-nginx-mysql/centos/conf/etc/zabbix/nginx_ssl.conf | 7 +++---- web-nginx-mysql/ubuntu/conf/etc/zabbix/nginx.conf | 4 +++- web-nginx-mysql/ubuntu/conf/etc/zabbix/nginx_ssl.conf | 7 +++---- web-nginx-pgsql/alpine/conf/etc/zabbix/nginx.conf | 4 +++- web-nginx-pgsql/alpine/conf/etc/zabbix/nginx_ssl.conf | 7 +++---- web-nginx-pgsql/centos/conf/etc/zabbix/nginx.conf | 4 +++- web-nginx-pgsql/centos/conf/etc/zabbix/nginx_ssl.conf | 7 +++---- web-nginx-pgsql/ubuntu/conf/etc/zabbix/nginx.conf | 4 +++- web-nginx-pgsql/ubuntu/conf/etc/zabbix/nginx_ssl.conf | 7 +++---- 12 files changed, 35 insertions(+), 30 deletions(-) diff --git a/web-nginx-mysql/alpine/conf/etc/zabbix/nginx.conf b/web-nginx-mysql/alpine/conf/etc/zabbix/nginx.conf index fbc144486..3b3499240 100644 --- a/web-nginx-mysql/alpine/conf/etc/zabbix/nginx.conf +++ b/web-nginx-mysql/alpine/conf/etc/zabbix/nginx.conf @@ -1,5 +1,7 @@ server { - listen 8080; + listen 8080; + listen [::]:8080; + server_name zabbix; index index.php; diff --git a/web-nginx-mysql/alpine/conf/etc/zabbix/nginx_ssl.conf b/web-nginx-mysql/alpine/conf/etc/zabbix/nginx_ssl.conf index 44594adb7..55becd27c 100644 --- a/web-nginx-mysql/alpine/conf/etc/zabbix/nginx_ssl.conf +++ b/web-nginx-mysql/alpine/conf/etc/zabbix/nginx_ssl.conf @@ -1,5 +1,6 @@ server { - listen 8443 ssl http2; + listen 8443 ssl http2; + listen [::]:8443 ssl http2; server_name zabbix; server_name_in_redirect off; @@ -15,9 +16,6 @@ server { client_max_body_size 10M; - - ssl on; -# ssl_stapling on; ssl_certificate /etc/ssl/nginx/ssl.crt; ssl_certificate_key /etc/ssl/nginx/ssl.key; ssl_dhparam /etc/ssl/nginx/dhparam.pem; diff --git a/web-nginx-mysql/centos/conf/etc/zabbix/nginx.conf b/web-nginx-mysql/centos/conf/etc/zabbix/nginx.conf index fbc144486..3b3499240 100644 --- a/web-nginx-mysql/centos/conf/etc/zabbix/nginx.conf +++ b/web-nginx-mysql/centos/conf/etc/zabbix/nginx.conf @@ -1,5 +1,7 @@ server { - listen 8080; + listen 8080; + listen [::]:8080; + server_name zabbix; index index.php; diff --git a/web-nginx-mysql/centos/conf/etc/zabbix/nginx_ssl.conf b/web-nginx-mysql/centos/conf/etc/zabbix/nginx_ssl.conf index 44594adb7..384d22506 100644 --- a/web-nginx-mysql/centos/conf/etc/zabbix/nginx_ssl.conf +++ b/web-nginx-mysql/centos/conf/etc/zabbix/nginx_ssl.conf @@ -1,5 +1,7 @@ server { - listen 8443 ssl http2; + listen 8443 ssl http2; + listen [::]:8443 ssl http2; + server_name zabbix; server_name_in_redirect off; @@ -15,9 +17,6 @@ server { client_max_body_size 10M; - - ssl on; -# ssl_stapling on; ssl_certificate /etc/ssl/nginx/ssl.crt; ssl_certificate_key /etc/ssl/nginx/ssl.key; ssl_dhparam /etc/ssl/nginx/dhparam.pem; diff --git a/web-nginx-mysql/ubuntu/conf/etc/zabbix/nginx.conf b/web-nginx-mysql/ubuntu/conf/etc/zabbix/nginx.conf index fbc144486..3b3499240 100644 --- a/web-nginx-mysql/ubuntu/conf/etc/zabbix/nginx.conf +++ b/web-nginx-mysql/ubuntu/conf/etc/zabbix/nginx.conf @@ -1,5 +1,7 @@ server { - listen 8080; + listen 8080; + listen [::]:8080; + server_name zabbix; index index.php; diff --git a/web-nginx-mysql/ubuntu/conf/etc/zabbix/nginx_ssl.conf b/web-nginx-mysql/ubuntu/conf/etc/zabbix/nginx_ssl.conf index 44594adb7..384d22506 100644 --- a/web-nginx-mysql/ubuntu/conf/etc/zabbix/nginx_ssl.conf +++ b/web-nginx-mysql/ubuntu/conf/etc/zabbix/nginx_ssl.conf @@ -1,5 +1,7 @@ server { - listen 8443 ssl http2; + listen 8443 ssl http2; + listen [::]:8443 ssl http2; + server_name zabbix; server_name_in_redirect off; @@ -15,9 +17,6 @@ server { client_max_body_size 10M; - - ssl on; -# ssl_stapling on; ssl_certificate /etc/ssl/nginx/ssl.crt; ssl_certificate_key /etc/ssl/nginx/ssl.key; ssl_dhparam /etc/ssl/nginx/dhparam.pem; diff --git a/web-nginx-pgsql/alpine/conf/etc/zabbix/nginx.conf b/web-nginx-pgsql/alpine/conf/etc/zabbix/nginx.conf index fbc144486..3b3499240 100644 --- a/web-nginx-pgsql/alpine/conf/etc/zabbix/nginx.conf +++ b/web-nginx-pgsql/alpine/conf/etc/zabbix/nginx.conf @@ -1,5 +1,7 @@ server { - listen 8080; + listen 8080; + listen [::]:8080; + server_name zabbix; index index.php; diff --git a/web-nginx-pgsql/alpine/conf/etc/zabbix/nginx_ssl.conf b/web-nginx-pgsql/alpine/conf/etc/zabbix/nginx_ssl.conf index 44594adb7..384d22506 100644 --- a/web-nginx-pgsql/alpine/conf/etc/zabbix/nginx_ssl.conf +++ b/web-nginx-pgsql/alpine/conf/etc/zabbix/nginx_ssl.conf @@ -1,5 +1,7 @@ server { - listen 8443 ssl http2; + listen 8443 ssl http2; + listen [::]:8443 ssl http2; + server_name zabbix; server_name_in_redirect off; @@ -15,9 +17,6 @@ server { client_max_body_size 10M; - - ssl on; -# ssl_stapling on; ssl_certificate /etc/ssl/nginx/ssl.crt; ssl_certificate_key /etc/ssl/nginx/ssl.key; ssl_dhparam /etc/ssl/nginx/dhparam.pem; diff --git a/web-nginx-pgsql/centos/conf/etc/zabbix/nginx.conf b/web-nginx-pgsql/centos/conf/etc/zabbix/nginx.conf index fbc144486..3b3499240 100644 --- a/web-nginx-pgsql/centos/conf/etc/zabbix/nginx.conf +++ b/web-nginx-pgsql/centos/conf/etc/zabbix/nginx.conf @@ -1,5 +1,7 @@ server { - listen 8080; + listen 8080; + listen [::]:8080; + server_name zabbix; index index.php; diff --git a/web-nginx-pgsql/centos/conf/etc/zabbix/nginx_ssl.conf b/web-nginx-pgsql/centos/conf/etc/zabbix/nginx_ssl.conf index 44594adb7..384d22506 100644 --- a/web-nginx-pgsql/centos/conf/etc/zabbix/nginx_ssl.conf +++ b/web-nginx-pgsql/centos/conf/etc/zabbix/nginx_ssl.conf @@ -1,5 +1,7 @@ server { - listen 8443 ssl http2; + listen 8443 ssl http2; + listen [::]:8443 ssl http2; + server_name zabbix; server_name_in_redirect off; @@ -15,9 +17,6 @@ server { client_max_body_size 10M; - - ssl on; -# ssl_stapling on; ssl_certificate /etc/ssl/nginx/ssl.crt; ssl_certificate_key /etc/ssl/nginx/ssl.key; ssl_dhparam /etc/ssl/nginx/dhparam.pem; diff --git a/web-nginx-pgsql/ubuntu/conf/etc/zabbix/nginx.conf b/web-nginx-pgsql/ubuntu/conf/etc/zabbix/nginx.conf index fbc144486..3b3499240 100644 --- a/web-nginx-pgsql/ubuntu/conf/etc/zabbix/nginx.conf +++ b/web-nginx-pgsql/ubuntu/conf/etc/zabbix/nginx.conf @@ -1,5 +1,7 @@ server { - listen 8080; + listen 8080; + listen [::]:8080; + server_name zabbix; index index.php; diff --git a/web-nginx-pgsql/ubuntu/conf/etc/zabbix/nginx_ssl.conf b/web-nginx-pgsql/ubuntu/conf/etc/zabbix/nginx_ssl.conf index 44594adb7..384d22506 100644 --- a/web-nginx-pgsql/ubuntu/conf/etc/zabbix/nginx_ssl.conf +++ b/web-nginx-pgsql/ubuntu/conf/etc/zabbix/nginx_ssl.conf @@ -1,5 +1,7 @@ server { - listen 8443 ssl http2; + listen 8443 ssl http2; + listen [::]:8443 ssl http2; + server_name zabbix; server_name_in_redirect off; @@ -15,9 +17,6 @@ server { client_max_body_size 10M; - - ssl on; -# ssl_stapling on; ssl_certificate /etc/ssl/nginx/ssl.crt; ssl_certificate_key /etc/ssl/nginx/ssl.key; ssl_dhparam /etc/ssl/nginx/dhparam.pem;