From 886f9259158acc1ac3e3991717901a2d6ead31c3 Mon Sep 17 00:00:00 2001 From: Jan Dittberner Date: Tue, 27 Jan 2015 19:45:13 +0100 Subject: [PATCH] add listen directive to enable IPv6 --- docs/changelog.rst | 2 ++ gvaweb/webtasks/templates/vhost.nginx | 2 ++ 2 files changed, 4 insertions(+) diff --git a/docs/changelog.rst b/docs/changelog.rst index 4ca1479..254d4e3 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -1,6 +1,8 @@ Changelog ========= +* :bug:`-` add listen directive to enable IPv6 + * :release:`0.1.1 <2015-01-27>` * :bug:`-` force symlink creation for enable_web_vhost task to make it idempotent diff --git a/gvaweb/webtasks/templates/vhost.nginx b/gvaweb/webtasks/templates/vhost.nginx index 16fa179..437614c 100644 --- a/gvaweb/webtasks/templates/vhost.nginx +++ b/gvaweb/webtasks/templates/vhost.nginx @@ -4,6 +4,8 @@ server { server_name *.{{ domain|parentdomain }}; {%- endif %} + listen [::]:80; + access_log /var/log/nginx/{{ domain }}.access.log; error_log /var/log/nginx/{{ domain }}.error.log;