aboutsummaryrefslogtreecommitdiff
path: root/files/usr/local/etc/nginx/vhosts.conf.git_server
diff options
context:
space:
mode:
Diffstat (limited to 'files/usr/local/etc/nginx/vhosts.conf.git_server')
-rw-r--r--files/usr/local/etc/nginx/vhosts.conf.git_server5
1 files changed, 5 insertions, 0 deletions
diff --git a/files/usr/local/etc/nginx/vhosts.conf.git_server b/files/usr/local/etc/nginx/vhosts.conf.git_server
index fdd5f53..0d24050 100644
--- a/files/usr/local/etc/nginx/vhosts.conf.git_server
+++ b/files/usr/local/etc/nginx/vhosts.conf.git_server
@@ -39,6 +39,11 @@ $(printf ' deny %s;\n' $kerberized_cidrs)
fastcgi_pass unix:${gitolite_fcgiwrap_socket};
}
+ location /custom-style.css {
+ add_header Cache-Control "public";
+ expires 1d;
+ }
+
location @cgit {
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME ${cgit_webroot}/cgit.cgi;