Fixed SSL warnings

This commit is contained in:
Alexey Pustovalov 2021-06-07 09:46:30 -04:00
parent 385af4df4c
commit ec5f39a6e2
4 changed files with 11 additions and 10 deletions

View File

@ -1,5 +1,7 @@
server { server {
listen 8080; listen 8080;
listen [::]:8080;
server_name zabbix; server_name zabbix;
index index.php; index index.php;

View File

@ -1,5 +1,6 @@
server { server {
listen 8443 ssl http2; listen 8443 ssl http2;
listen [::]:8443 ssl http2;
server_name zabbix; server_name zabbix;
server_name_in_redirect off; server_name_in_redirect off;
@ -15,9 +16,6 @@ server {
client_max_body_size 10M; client_max_body_size 10M;
ssl on;
# ssl_stapling on;
ssl_certificate /etc/ssl/nginx/ssl.crt; ssl_certificate /etc/ssl/nginx/ssl.crt;
ssl_certificate_key /etc/ssl/nginx/ssl.key; ssl_certificate_key /etc/ssl/nginx/ssl.key;
ssl_dhparam /etc/ssl/nginx/dhparam.pem; ssl_dhparam /etc/ssl/nginx/dhparam.pem;

View File

@ -1,5 +1,7 @@
server { server {
listen 8080; listen 8080;
listen [::]:8080;
server_name zabbix; server_name zabbix;
index index.php; index index.php;

View File

@ -1,5 +1,7 @@
server { server {
listen 8443 ssl http2; listen 8443 ssl http2;
listen [::]:8443 ssl http2;
server_name zabbix; server_name zabbix;
server_name_in_redirect off; server_name_in_redirect off;
@ -15,9 +17,6 @@ server {
client_max_body_size 10M; client_max_body_size 10M;
ssl on;
# ssl_stapling on;
ssl_certificate /etc/ssl/nginx/ssl.crt; ssl_certificate /etc/ssl/nginx/ssl.crt;
ssl_certificate_key /etc/ssl/nginx/ssl.key; ssl_certificate_key /etc/ssl/nginx/ssl.key;
ssl_dhparam /etc/ssl/nginx/dhparam.pem; ssl_dhparam /etc/ssl/nginx/dhparam.pem;