Modifications : etc/nginx/org/chatperche/www/common.conf.m4
authorLudovic CHEVALIER <ludovic.chevalier@heureux-cyclage.org>
Thu, 22 Sep 2016 14:20:31 +0000 (16:20 +0200)
committerLudovic CHEVALIER <ludovic.chevalier@heureux-cyclage.org>
Thu, 22 Sep 2016 14:20:31 +0000 (16:20 +0200)
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;
  }