issue #521, add 'map' extension to files served natively by nginx without using the project controller
This commit is contained in:
parent
b5d093e5ca
commit
ec5cc08fab
@ -92,7 +92,7 @@ server {
|
||||
# otherwise fall back to front controller
|
||||
# allow browser to cache them
|
||||
# added .htm for advanced source code editor library
|
||||
location ~* \.(jpg|jpeg|gif|png|ico|css|js|htm|html|ttf|woff|woff2|svg)$ {
|
||||
location ~* \.(jpg|jpeg|gif|png|ico|css|js|htm|html|map|ttf|woff|woff2|svg)$ {
|
||||
expires 30d;
|
||||
try_files $uri /index.php?q=$uri&$args;
|
||||
}
|
||||
|
Reference in New Issue
Block a user