X-Git-Url: https://git.cyclocoop.org/?p=lhc%2Fateliers.git;a=blobdiff_plain;f=etc%2Fnginx%2Fsite.d%2Fagendav%2Fsite.conf;h=21f3e8f858cdbd3e17df9707fe90dbdf3bae6958;hp=144ed9c010d4417e734615207c165b60c785f8a7;hb=de3ffef0e46f7d9064a21eab0e73693975f3c182;hpb=9075978ae94310fa7a27d9881d3cecc6150ca3e9 diff --git a/etc/nginx/site.d/agendav/site.conf b/etc/nginx/site.d/agendav/site.conf index 144ed9c..21f3e8f 100644 --- a/etc/nginx/site.d/agendav/site.conf +++ b/etc/nginx/site.d/agendav/site.conf @@ -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;