aboutsummaryrefslogtreecommitdiff
path: root/files/usr/local/etc/nginx/vhosts.conf.git_server
diff options
context:
space:
mode:
authorCullum Smith <cullum@sacredheartsc.com>2024-11-14 20:40:35 -0500
committerCullum Smith <cullum@sacredheartsc.com>2024-11-14 20:40:35 -0500
commit9fec52cfb9a2fca2e6ad2aa505075de47e930165 (patch)
tree082f8a37525c8c8d0978180bda1d4b740988d766 /files/usr/local/etc/nginx/vhosts.conf.git_server
parent1760403ec7e3bf1c4538b783becbcfc0fc9f7f06 (diff)
downloadinfrastructure-9fec52cfb9a2fca2e6ad2aa505075de47e930165.tar.gz
more updates for git server
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;