From: Ludovic CHEVALIER Date: Sat, 19 Oct 2013 14:46:50 +0000 (+0200) Subject: Ajout : lhc-www/http.conf X-Git-Url: http://git.cyclocoop.org/data/%7B%7B%20url_for%28%27static%27%2C%20filename=%27js/%40%20%27entree_nom_pseudo_1%27%20=%3E%20%27%28Your%20name%20or%20alias%29%27%2C%20%27entree_nom_pseudo_2%27%20=%3E%20%27Name%20or%20alias%27%2C%20%27entree_nom_site%27%20=%3E%20%27Name%20of%20your%20site%27%2C-%27entree_nom_site_2%27%20=%3E%20%27Name%20of%20the%20author/%27s%20site%27%2C%20%27entree_nom_site_2%27%20=%3E%20%27Name%20of%20the%20author%C3%A2%C2%80%C2%99s%20site%27%2C%20%27entree_nouveau_passe%27%20=%3E%20%27New%20password%27%2C%20%27entree_passe_ldap%27%20=%3E%20%27Password%27%2C%20%27entree_port_annuaire%27%20=%3E%20%27Port%20number%20of%20the%20directory%27%2C%40%40%20-175%2C7%20%20175%2C7%20%40%40%20Do%20not%20submit%20this%20import%20request.%3Cp%3EFor%20more%20information%2C%20please%20see%20%3Ca%20href=?a=commitdiff_plain;h=0bd0862e5fb842c88338b5b039379f4038587806;p=lhc%2Fateliers.git 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;