From bd525cbda9c874823e3384227dcc8a1cb0dea35f Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Fri, 30 Oct 2015 02:44:26 +0100 Subject: nginx: adjust expiration date for static content. --- roles/wiki/files/etc/nginx/sites-available/website | 3 +++ 1 file changed, 3 insertions(+) (limited to 'roles/wiki/files/etc/nginx/sites-available/website') 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/; -- cgit v1.2.3