diff --git a/config/nginx.conf b/config/nginx.conf index 85e0fab..21154ac 100644 --- a/config/nginx.conf +++ b/config/nginx.conf @@ -1,9 +1,9 @@ upstream vivre_app_unicorn { - server unix:/srv/www/web/vivre_app/unicorn.sock fail_timeout=0; + server unix:/srv/www/web/vivre_app/shared/tmp/unicorn.sock fail_timeout=0; } server { - listen 80; + listen [::]:80; server_name vivre.simplement.la simplement.quartz.xyz; root /srv/www/web/vivre_app/current/public; try_files $uri/index.html $uri @unicorn; @@ -24,7 +24,7 @@ server { } server { - listen 80; + listen [::]:80; server_name www.vivre.simplement.la; return 301 http://simplement.la$request_uri;