From 81e6af8f2b4a485840a99fcd9dcb6ec2b9605bbb Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Mon, 25 Apr 2016 21:49:41 +0300 Subject: [PATCH] roles/nginx: Add IPv6 listener in default HTTPS vhost --- roles/nginx/templates/blank-vhost.conf.j2 | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/nginx/templates/blank-vhost.conf.j2 b/roles/nginx/templates/blank-vhost.conf.j2 index f026e5c..8c47cc3 100644 --- a/roles/nginx/templates/blank-vhost.conf.j2 +++ b/roles/nginx/templates/blank-vhost.conf.j2 @@ -11,6 +11,7 @@ server { } server { listen 443 ssl http2 default_server; + listen [::]:443 ssl http2 default_server; server_name _; # "snakeoil" certificate (self signed!)