From: Ludovic CHEVALIER Date: Tue, 18 Oct 2016 08:54:28 +0000 (+0200) Subject: Modifications : etc/nginx/site.d/sympa/http.conf X-Git-Url: https://git.cyclocoop.org/?p=lhc%2Fateliers.git;a=commitdiff_plain;h=a23ce1519433e964ba7ecdccf2a4a190604c6afc Modifications : etc/nginx/site.d/sympa/http.conf --- 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"; }