diff --git a/config/nginx.conf b/config/nginx.conf index 153c3c4..6f769f6 100644 --- a/config/nginx.conf +++ b/config/nginx.conf @@ -4,7 +4,7 @@ upstream cris_app_unicorn { server { listen 80; - server_name cris.quartz.xyz; + server_name cris-graphic.com; root /home/web/cris_app/current/public; try_files $uri/index.html $uri @unicorn; @@ -24,6 +24,6 @@ server { server { listen 80; - server_name www.cris.quartz.xyz; - rewrite ^(.*) http://cris.quartz.xyz$1 permanent; + server_name www.cris.quartz.xyz www.cris-graphic.com; + rewrite ^(.*) http://cris-graphic.com$1 permanent; }