aboutsummaryrefslogtreecommitdiff
path: root/nginx/conf.d/default.conf
diff options
context:
space:
mode:
authorShy <[email protected]>2025-12-20 14:50:25 -0500
committerShy <[email protected]>2025-12-20 14:50:25 -0500
commit577077f77c4d47ce6ef725c48c60ce857baa19c0 (patch)
treef7956e6b38a350e1e8a73e9b82c4cbd3bfbc2ee5 /nginx/conf.d/default.conf
parent5f6237538cb391bd69a75d90f93405306b6b880d (diff)
downloadalpine-cgit-master.tar.xz
alpine-cgit-master.zip
Fix imagesHEADmaster
Diffstat (limited to 'nginx/conf.d/default.conf')
-rw-r--r--nginx/conf.d/default.conf5
1 files changed, 0 insertions, 5 deletions
diff --git a/nginx/conf.d/default.conf b/nginx/conf.d/default.conf
index b991022..c33aaf5 100644
--- a/nginx/conf.d/default.conf
+++ b/nginx/conf.d/default.conf
@@ -7,11 +7,6 @@ server {
try_files $uri @cgit;
}
- location ~* ^.+(cgit.(css|png)|favicon.ico|robots.txt) {
- root /usr/share/webapps/cgit;
- expires 30d;
- }
-
location ~ /.+/(info/refs|git-upload-pack) {
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME /usr/libexec/git-core/git-http-backend;