Ajout : cyclocoop.org/nuage/ .
authorJulien Moutinho <julm+heureux-cyclage@autogeree.net>
Tue, 24 Sep 2013 10:52:41 +0000 (12:52 +0200)
committerroot <root@ateliers.heureux-cyclage.org>
Tue, 24 Sep 2013 11:33:06 +0000 (13:33 +0200)
etc/nginx/site.d/cyclo-www-tls/local.conf
etc/nginx/site.d/cyclo-www/local.conf

index fcd148c..6d08c95 100644 (file)
@@ -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;
+ }
index 9a6ebd1..f94d2cf 100644 (file)
@@ -5,3 +5,6 @@ location ~ ^/administrator(/.*|$) {
 location ~ ^/apc(/.*|$) {
        return 301 https://$http_host$request_uri;
  }
+location ~ ^/nuage(/.*|$) {
+       return 301 https://$http_host$request_uri;
+ }