nginx production
This commit is contained in:
parent
12c8c65886
commit
47f9e7a1b9
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user