summaryrefslogtreecommitdiff
path: root/templates/cache_static.tmpl
diff options
context:
space:
mode:
authorhorus_arch2015-07-27 22:24:09 +0200
committerhorus_arch2015-07-27 22:52:09 +0200
commitebfb0155ac6a4fba93ebb846878ca211e9384226 (patch)
tree0f9faa9e9afed9ce92dbd8e5cac796a833f86cd5 /templates/cache_static.tmpl
downloadngxconf-ebfb0155ac6a4fba93ebb846878ca211e9384226.tar.gz
Initial commit.HEADmaster
Diffstat (limited to 'templates/cache_static.tmpl')
-rw-r--r--templates/cache_static.tmpl3
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/cache_static.tmpl b/templates/cache_static.tmpl
new file mode 100644
index 0000000..e194ada
--- /dev/null
+++ b/templates/cache_static.tmpl
@@ -0,0 +1,3 @@
+location ~* \.(jpe?g|png|gif|css|js|swf|txt|ico)$ {
+ expires 170h;
+ }