aboutsummaryrefslogtreecommitdiff
path: root/nginx/conf.d/default.conf
diff options
context:
space:
mode:
authorroot <[email protected]>2026-02-07 02:28:19 +0000
committerroot <[email protected]>2026-02-07 02:28:19 +0000
commit5d1aab5314c91be08e324a0277fd84e2522f90ba (patch)
tree772e17d0943a9be4abc9381733120ef802ee1303 /nginx/conf.d/default.conf
parentbc3203a5c2a507aedfcb314119bf0ac65a12cce9 (diff)
downloadalpine-cgit-5d1aab5314c91be08e324a0277fd84e2522f90ba.tar.xz
alpine-cgit-5d1aab5314c91be08e324a0277fd84e2522f90ba.zip
Bug fixesHEADmaster
Diffstat (limited to 'nginx/conf.d/default.conf')
-rw-r--r--nginx/conf.d/default.conf4
1 files changed, 4 insertions, 0 deletions
diff --git a/nginx/conf.d/default.conf b/nginx/conf.d/default.conf
index c33aaf5..9511938 100644
--- a/nginx/conf.d/default.conf
+++ b/nginx/conf.d/default.conf
@@ -16,6 +16,10 @@ server {
fastcgi_param GIT_CONFIG_COUNT 1;
fastcgi_param GIT_CONFIG_KEY_0 safe.directory;
fastcgi_param GIT_CONFIG_VALUE_0 *;
+
+ fastcgi_param CONTENT_TYPE $content_type;
+ fastcgi_param CONTENT_LENGTH $content_length;
+
fastcgi_param HOME /srv/git;
fastcgi_pass unix:/var/run/fcgiwrap.sock;
}