-server_name questionnaires.heureux-cyclage.org;
+server_name questionnaires.heureux-cyclage.org formations.heureux-cyclage.org;
client_body_buffer_size 8k;
client_max_body_size 10m;
location / {
+ if ($host = "formations.heureux-cyclage.org") {
+ return 302 "$scheme://questionnaires.heureux-cyclage.org/index.php?r=survey/index/sid/533927/lang/fr";
+ }
index index.html index.htm index.php;
}
location ~* ^.+.(css|gif|html|ico|jpeg|js|jpg|png|txt|xml)$ {