summaryrefslogtreecommitdiffstats
path: root/roles/wiki/files
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2015-10-30 02:44:26 +0100
committerGuilhem Moulin <guilhem@fripost.org>2015-10-30 12:48:53 +0100
commitbd525cbda9c874823e3384227dcc8a1cb0dea35f (patch)
tree5b10d2709685ad2e4ffe071fed48aafaf799e2b0 /roles/wiki/files
parent5e72af08d3b98b08167595b1d0ceb9d0a75c7375 (diff)
nginx: adjust expiration date for static content.
Diffstat (limited to 'roles/wiki/files')
-rw-r--r--roles/wiki/files/etc/nginx/sites-available/website3
1 files changed, 3 insertions, 0 deletions
diff --git a/roles/wiki/files/etc/nginx/sites-available/website b/roles/wiki/files/etc/nginx/sites-available/website
index 3513510..ba8a34f 100644
--- a/roles/wiki/files/etc/nginx/sites-available/website
+++ b/roles/wiki/files/etc/nginx/sites-available/website
@@ -35,12 +35,15 @@ server {
}
location /static/ {
alias /var/lib/ikiwiki/public_html/fripost-wiki/static/;
+ expires 30d;
}
location /material/ {
alias /var/www/fripost.org/material/;
+ expires 30d;
}
location /minutes/ {
alias /var/www/fripost.org/minutes/;
+ expires 30d;
}
location /.well-known/autoconfig/ {
alias /var/www/fripost.org/autoconfig/;