Modification : nginx root configurable.
[lhc/ateliers.git] / etc / nginx / site.d / agendav / site.conf
index 144ed9c..21f3e8f 100644 (file)
@@ -6,7 +6,7 @@ client_body_buffer_size 8k;
 client_max_body_size 10m;
 
 location / {
-       root /home/www/pub/agendav/web/public/;
+       root /home/www/data/agendav/web/public/;
        index index.html index.htm index.php;
  }
 location ~ /\. {
@@ -15,7 +15,7 @@ location ~ /\. {
        log_not_found off;
  }
 location ~* ^.+\.php(|/.*)$ {
-       root /home/www/pub/agendav/web/public/;
+       root /home/www/data/agendav/web/public/;
        include /etc/nginx/conf.d/fastcgi.conf;
        set $no_cache "0";
        if ($request_method !~ ^(GET|HEAD)$) {
@@ -50,7 +50,7 @@ location ~* ^.+\.php(|/.*)$ {
        fastcgi_pass unix:/run/php5/fpm/agendav;
  }
 location ~* ^.+.(css|gif|html|ico|jpeg|js|jpg|png|txt|xml)$ {
-       root /home/www/pub/agendav/web/public/;
+       root /home/www/data/agendav/web/public/;
        access_log off;
        expires 30d;
        log_not_found off;