From c3c4972b43500b2430ce302db8d28429a12f3952 Mon Sep 17 00:00:00 2001 From: Martin Mahner Date: Sun, 25 Oct 2015 11:28:19 +0000 Subject: [PATCH] Listen on IPv6 --- server/nginx.conf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/server/nginx.conf b/server/nginx.conf index 0a4d23a..d9fd99e 100644 --- a/server/nginx.conf +++ b/server/nginx.conf @@ -14,6 +14,8 @@ log_format combined_port '$remote_addr - $remote_user [$time_local] ' # ----------------------------------------------------------------------------- server { listen 80; + listen [::]:80; + server_name dpaste.de www.dpaste.de dpaste.org @@ -30,6 +32,8 @@ server { server { listen 443 ssl spdy; + listen [::]:443 ssl spdy; + server_name dpaste.org www.dpaste.org; ssl_certificate /srv/dpaste.de/var/ssl/dpaste_org_unified.crt; @@ -44,6 +48,8 @@ server { server { listen 443 ssl spdy; + listen [::]:443 ssl spdy; + server_name dpaste.de www.dpaste.de; ssl_certificate /srv/dpaste.de/var/ssl_2015/ssl-unified.crt;