diff --git a/config/nginx.conf b/config/nginx.conf index 04042d3..db81a65 100644 --- a/config/nginx.conf +++ b/config/nginx.conf @@ -4,7 +4,7 @@ upstream pmr_app_unicorn { server { listen 80; - server_name pmr.quartz.xyz; + server_name access-pmr.com; root /home/web/pmr_app/current/public; try_files $uri/index.html $uri @unicorn; @@ -22,7 +22,7 @@ server { server { listen 80; - server_name www.pmr.quartz.xyz; + server_name www.access-pmr.com www.pmr.quartz.xyz pmr.quartz.xyz; rewrite ^(.*) http://pmr.quartz.xyz permanent; }