pmr.quartz.xyz

This commit is contained in:
Nicolas Bally 2016-03-31 21:28:47 +02:00
parent 6f8bdaece2
commit 461f7d04ca

View File

@ -4,7 +4,7 @@ upstream pmr_app_unicorn {
server { server {
listen 80; listen 80;
server_name pmr.quartz.xyz; server_name access-pmr.com;
root /home/web/pmr_app/current/public; root /home/web/pmr_app/current/public;
try_files $uri/index.html $uri @unicorn; try_files $uri/index.html $uri @unicorn;
@ -22,7 +22,7 @@ server {
server { server {
listen 80; 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; rewrite ^(.*) http://pmr.quartz.xyz permanent;
} }