diff options
| author | horus_arch | 2015-07-27 22:24:09 +0200 |
|---|---|---|
| committer | horus_arch | 2015-07-27 22:52:09 +0200 |
| commit | ebfb0155ac6a4fba93ebb846878ca211e9384226 (patch) | |
| tree | 0f9faa9e9afed9ce92dbd8e5cac796a833f86cd5 /templates/cache_static.tmpl | |
| download | ngxconf-ebfb0155ac6a4fba93ebb846878ca211e9384226.tar.gz | |
Diffstat (limited to 'templates/cache_static.tmpl')
| -rw-r--r-- | templates/cache_static.tmpl | 3 |
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; + } |
