Ajout : etc/sympa/host.d/ptitvelo.net
[lhc/ateliers.git] / etc / nginx / site.d / sympa / site.conf
index 31d83dc..a5e8f03 100644 (file)
@@ -1,7 +1,9 @@
 server_name
  sympa.heureux-cyclage.org
  sympa.cyclocoop.heureux-cyclage.org
- sympa.cyclocoop.org;
+ sympa.cyclocoop.org
+ sympa.ptitvelo.heureux-cyclage.org
+ sympa.ptitvelo.net;
 
 client_body_buffer_size 8k;
 client_max_body_size 10m;
@@ -40,6 +42,9 @@ location / {
        if ($host = "sympa.cyclocoop.heureux-cyclage.org") {
                set $sympa_robot "sympa.cyclocoop.org";
         }
+       if ($host = "sympa.ptitvelo.heureux-cyclage.org") {
+               set $sympa_robot "sympa.ptitvelo.net";
+        }
        fastcgi_param SERVER_NAME $sympa_robot;
        fastcgi_param PATH_INFO $uri;