Modifications : etc/nginx/org/chatperche/www/common.conf.m4
[lhc/admin.git] / srv / ateliers / etc / nginx / org / chatperche / www / common.conf.m4
index 787f5af..4ee64ce 100644 (file)
@@ -9,6 +9,9 @@ location = /wp-admin/ {
        return 301 /wp-admin/index.php?$args;
  }
 location / {
+       if ($host = "www.chatperche.org") {
+               return 302 "$scheme://ateliervelo.free.fr/";
+       }
        index index.html index.htm index.php;
        try_files $uri $uri/ /index.php?$args;
  }