roles/nginx: Add IPv6 listener in default HTTPS vhost

This commit is contained in:
Alan Orth 2016-04-25 21:49:41 +03:00
parent 1ffc4eebc9
commit 81e6af8f2b
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9

View File

@ -11,6 +11,7 @@ server {
} }
server { server {
listen 443 ssl http2 default_server; listen 443 ssl http2 default_server;
listen [::]:443 ssl http2 default_server;
server_name _; server_name _;
# "snakeoil" certificate (self signed!) # "snakeoil" certificate (self signed!)