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 ~ /\. {
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)$) {
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;