diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2020-05-17 20:24:09 +0200 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2020-05-17 20:34:42 +0200 |
commit | 3c7c834a37802e5ca5d93a4b4a91dde3264d9f5d (patch) | |
tree | 07abe3c01bb29505ceab94b7bdb587c1d3bd09ba /roles/git/files/etc/nginx/sites-available | |
parent | a16b003a9bf101234ca988b6e43466a3d6b99bc7 (diff) |
nginx: Add Expires: HTTP headers.
Diffstat (limited to 'roles/git/files/etc/nginx/sites-available')
-rw-r--r-- | roles/git/files/etc/nginx/sites-available/git | 1 |
1 files changed, 1 insertions, 0 deletions
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/; } |