removed static files location
This commit is contained in:
parent
cd952bd72d
commit
d80fe5f7b6
|
|
@ -29,12 +29,6 @@ server {
|
||||||
fastcgi_param PHP_VALUE "upload_max_filesize=5M \n post_max_size=5M";
|
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 {
|
server {
|
||||||
|
|
@ -75,10 +69,4 @@ server {
|
||||||
fastcgi_param SERVER_NAME $http_host;
|
fastcgi_param SERVER_NAME $http_host;
|
||||||
fastcgi_param PHP_VALUE "upload_max_filesize=5M \n post_max_size=5M";
|
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;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue