From: Julien Moutinho Date: Tue, 24 Sep 2013 10:52:41 +0000 (+0200) Subject: Ajout : cyclocoop.org/nuage/ . X-Git-Url: https://git.cyclocoop.org/?p=lhc%2Fateliers.git;a=commitdiff_plain;h=3c8a5d1eb8a8b6fa82989fbe32fbd5412d845e0b Ajout : cyclocoop.org/nuage/ . --- diff --git a/etc/nginx/site.d/cyclo-www-tls/local.conf b/etc/nginx/site.d/cyclo-www-tls/local.conf index fcd148c..6d08c95 100644 --- a/etc/nginx/site.d/cyclo-www-tls/local.conf +++ b/etc/nginx/site.d/cyclo-www-tls/local.conf @@ -15,3 +15,8 @@ location ~ ^/apc/ { fastcgi_pass unix:/run/php5/fpm/cyclo_www; } +location ~ ^/nuage(/.*|$) { + autoindex on; + auth_basic "ni dieu, ni maitre, ni moteur"; + auth_basic_user_file /home/www/data/cyclo-www/nuage/.htpasswd; + } diff --git a/etc/nginx/site.d/cyclo-www/local.conf b/etc/nginx/site.d/cyclo-www/local.conf index 9a6ebd1..f94d2cf 100644 --- a/etc/nginx/site.d/cyclo-www/local.conf +++ b/etc/nginx/site.d/cyclo-www/local.conf @@ -5,3 +5,6 @@ location ~ ^/administrator(/.*|$) { location ~ ^/apc(/.*|$) { return 301 https://$http_host$request_uri; } +location ~ ^/nuage(/.*|$) { + return 301 https://$http_host$request_uri; + }