This commit is contained in:
Nicolas Bally 2018-08-11 20:51:06 +02:00
parent af3bf72cdd
commit 47d5b05f84

View File

@ -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;