removed static files location

This commit is contained in:
Diego Lendoiro 2018-05-08 12:55:53 +02:00
parent cd952bd72d
commit d80fe5f7b6
1 changed files with 0 additions and 12 deletions

View File

@ -29,12 +29,6 @@ server {
fastcgi_param PHP_VALUE "upload_max_filesize=5M \n post_max_size=5M";
}
location ~* \.(jpe?g|woff|woff2|ttf|gif|png|bmp|ico|css|js|ejs|json|pdf|zip|htm|html|docx?|xlsx?|pptx?|txt|wav|swf|svg|avi|mp\d)$ {
access_log off;
log_not_found off;
try_files $uri /webroot/$uri /index.php?$args;
}
}
server {
@ -75,10 +69,4 @@ server {
fastcgi_param SERVER_NAME $http_host;
fastcgi_param PHP_VALUE "upload_max_filesize=5M \n post_max_size=5M";
}
location ~* \.(jpe?g|woff|woff2|ttf|gif|png|bmp|ico|css|js|ejs|json|pdf|zip|htm|html|docx?|xlsx?|pptx?|txt|wav|swf|svg|avi|mp\d)$ {
access_log off;
log_not_found off;
try_files $uri /webroot/$uri /index.php?$args;
}
}