From 3c7c834a37802e5ca5d93a4b4a91dde3264d9f5d Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Sun, 17 May 2020 20:24:09 +0200 Subject: nginx: Add Expires: HTTP headers. --- roles/git/files/etc/nginx/sites-available/git | 1 + 1 file changed, 1 insertion(+) (limited to 'roles/git/files/etc/nginx/sites-available') diff --git a/roles/git/files/etc/nginx/sites-available/git b/roles/git/files/etc/nginx/sites-available/git index 0aa4345..3f2bc7f 100644 --- a/roles/git/files/etc/nginx/sites-available/git +++ b/roles/git/files/etc/nginx/sites-available/git @@ -39,6 +39,7 @@ server { gzip_types application/javascript application/json application/xml image/svg+xml image/x-icon text/css text/plain; location ^~ /static/ { + expires 30d; alias /usr/share/cgit/; } -- cgit v1.2.3