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