From a23ce1519433e964ba7ecdccf2a4a190604c6afc Mon Sep 17 00:00:00 2001 From: Ludovic CHEVALIER Date: Tue, 18 Oct 2016 10:54:28 +0200 Subject: [PATCH] =?utf8?q?Modifications=C2=A0:=20=20=20=20=20=20=20=20=20e?= =?utf8?q?tc/nginx/site.d/sympa/http.conf?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- etc/nginx/site.d/sympa/http.conf | 2 ++ etc/nginx/site.d/sympa/site.conf | 5 +++++ 2 files changed, 7 insertions(+) diff --git a/etc/nginx/site.d/sympa/http.conf b/etc/nginx/site.d/sympa/http.conf index b11d936..abd6f8a 100644 --- a/etc/nginx/site.d/sympa/http.conf +++ b/etc/nginx/site.d/sympa/http.conf @@ -2,6 +2,8 @@ server { listen 80; server_name sympa.heureux-cyclage.org + sympa.chatperche.heureux-cyclage.org + sympa.chatperche.org sympa.cyclocoop.heureux-cyclage.org sympa.cyclocoop.org sympa.lesjantesdunord.heureux-cyclage.org diff --git a/etc/nginx/site.d/sympa/site.conf b/etc/nginx/site.d/sympa/site.conf index 11f6ceb..e2a9114 100644 --- a/etc/nginx/site.d/sympa/site.conf +++ b/etc/nginx/site.d/sympa/site.conf @@ -1,5 +1,7 @@ server_name sympa.heureux-cyclage.org + sympa.chatperche.heureux-cyclage.org + sympa.chatperche.org sympa.cyclocoop.heureux-cyclage.org sympa.cyclocoop.org sympa.lesjantesdunord.heureux-cyclage.org @@ -41,6 +43,9 @@ location / { fastcgi_no_cache $no_cache; fastcgi_param SCRIPT_NAME ''; set $sympa_robot $host; + if ($host = "sympa.chatperche.heureux-cyclage.org") { + set $sympa_robot "sympa.chatperche.org"; + } if ($host = "sympa.cyclocoop.heureux-cyclage.org") { set $sympa_robot "sympa.cyclocoop.org"; } -- 2.20.1