From d70c4a5601c67aa650ab19c06dbc955735ece4b7 Mon Sep 17 00:00:00 2001 From: Nicolas Bally Date: Wed, 14 Mar 2018 10:40:24 +0100 Subject: [PATCH] suite --- config/nginx.conf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/config/nginx.conf b/config/nginx.conf index 0487bb2..1b3bec7 100644 --- a/config/nginx.conf +++ b/config/nginx.conf @@ -3,7 +3,7 @@ upstream accescible_app_unicorn { } server { - listen 80; + listen [::]:80; server_name www.accescible-solutions.com; root /srv/www/web/accescible_app/current/public; try_files $uri/index.html $uri @unicorn; @@ -21,7 +21,7 @@ server { } server { - listen 80; - server_name accescible-solutions.com; - rewrite ^(.*) http://www.accescible-solutions.com$1 permanent; + listen [::]:80; + server_name accescible-solutions.com; + rewrite ^(.*) http://www.accescible-solutions.com$1 permanent; } \ No newline at end of file