From: Ludovic CHEVALIER Date: Sat, 19 Oct 2013 14:46:50 +0000 (+0200) Subject: Ajout : lhc-www/http.conf X-Git-Url: https://git.cyclocoop.org/?p=lhc%2Fateliers.git;a=commitdiff_plain;h=0bd0862e5fb842c88338b5b039379f4038587806 Ajout : lhc-www/http.conf Ajout : etc/nginx/site.d/lhc-www/http.conf --- diff --git a/etc/nginx/site.d/lhc-www/http.conf b/etc/nginx/site.d/lhc-www/http.conf new file mode 100644 index 0000000..4c5740d --- /dev/null +++ b/etc/nginx/site.d/lhc-www/http.conf @@ -0,0 +1,7 @@ +server { + listen 80; + server_name + heureux-cyclage.org; + + return 301 http://www.heureux-cyclage.org$request_uri; + } diff --git a/etc/nginx/site.d/lhc-www/site.conf b/etc/nginx/site.d/lhc-www/site.conf index 6c3729c..da1e35e 100644 --- a/etc/nginx/site.d/lhc-www/site.conf +++ b/etc/nginx/site.d/lhc-www/site.conf @@ -1,7 +1,5 @@ server_name - www.heureux-cyclage.org - heureux-cyclage.org - devel.heureux-cyclage.org; + www.heureux-cyclage.org; root /home/www/data/lhc-www/www; index index.php;