Modifications : etc/nginx/site.d/sympa/http.conf
[lhc/ateliers.git] / etc / nginx / site.d / sympa / site.conf
index 11f6ceb..e2a9114 100644 (file)
@@ -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";
         }