Ajout : etc/nginx/site.d/lhc-questionnaires/site.conf - Redir pour
[lhc/ateliers.git] / etc / nginx / site.d / lhc-questionnaires / site.conf
index 58e2ccb..6b755bd 100644 (file)
@@ -1,4 +1,7 @@
-server_name questionnaires.heureux-cyclage.org formations.heureux-cyclage.org;
+server_name
+ questionnaires.heureux-cyclage.org
+ formations.heureux-cyclage.org
+ rencontres.heureux-cyclage.org;
 
 client_body_buffer_size 8k;
 client_max_body_size 10m;
@@ -6,6 +9,9 @@ location / {
        if ($host = "formations.heureux-cyclage.org") {
                return 302 "$scheme://questionnaires.heureux-cyclage.org/index.php?r=survey/index/sid/788834/lang/fr";
         }
+       if ($host = "rencontres.heureux-cyclage.org") {
+               return 302 "$scheme://questionnaires.heureux-cyclage.org/index.php?r=survey/index/sid/917897/lang/fr";
+        }
        index index.html index.htm index.php;
  }
 location ~* ^.+\.(css|gif|html|ico|jpeg|js|jpg|png|txt|xml)$ {