From 58c9f80b73c6578b5e80e4c8d11e187ce48f15a8 Mon Sep 17 00:00:00 2001 From: Nicolas Bally Date: Mon, 23 Oct 2017 01:25:01 +0200 Subject: [PATCH] maj --- config/nginx.conf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config/nginx.conf b/config/nginx.conf index 1f00fdf..0e1c1ed 100644 --- a/config/nginx.conf +++ b/config/nginx.conf @@ -4,7 +4,7 @@ upstream nb_app_unicorn { server { listen 80; - server_name nicolasbally.com; + server_name quartz.xyz; root /home/web/nb_app/current/public; try_files $uri/index.html $uri @unicorn; @@ -23,7 +23,7 @@ server { server { listen 80; - server_name www.nicolasbally.com quartz-agence.com www.quartz-agence.com; - rewrite ^(.*) http://nicolasbally.com permanent; + server_name nicolasbally.com *.nicolasbally.com quartz-agence.com *.quartz-agence.com; + rewrite ^(.*) http://quartz.xyz permanent; }