From ec5cc08fabbdcd17e5e73821c083e4583cdf3214 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Wed, 21 Sep 2016 15:47:18 -0700 Subject: issue #521, add 'map' extension to files served natively by nginx without using the project controller --- install/sample-nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'install/sample-nginx.conf') diff --git a/install/sample-nginx.conf b/install/sample-nginx.conf index da84c8b09..85178596a 100644 --- a/install/sample-nginx.conf +++ b/install/sample-nginx.conf @@ -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; } -- cgit v1.2.3