diff options
author | Cullum Smith <cullum@sacredheartsc.com> | 2024-11-14 20:40:35 -0500 |
---|---|---|
committer | Cullum Smith <cullum@sacredheartsc.com> | 2024-11-14 20:40:35 -0500 |
commit | 9fec52cfb9a2fca2e6ad2aa505075de47e930165 (patch) | |
tree | 082f8a37525c8c8d0978180bda1d4b740988d766 /files/usr/local/etc/nginx/vhosts.conf.git_server | |
parent | 1760403ec7e3bf1c4538b783becbcfc0fc9f7f06 (diff) | |
download | infrastructure-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_server | 5 |
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; |