diff options
| author | root <[email protected]> | 2026-02-07 02:28:19 +0000 |
|---|---|---|
| committer | root <[email protected]> | 2026-02-07 02:28:19 +0000 |
| commit | 5d1aab5314c91be08e324a0277fd84e2522f90ba (patch) | |
| tree | 772e17d0943a9be4abc9381733120ef802ee1303 /nginx/conf.d | |
| parent | bc3203a5c2a507aedfcb314119bf0ac65a12cce9 (diff) | |
| download | alpine-cgit-5d1aab5314c91be08e324a0277fd84e2522f90ba.tar.xz alpine-cgit-5d1aab5314c91be08e324a0277fd84e2522f90ba.zip | |
Diffstat (limited to 'nginx/conf.d')
| -rw-r--r-- | nginx/conf.d/default.conf | 4 |
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; } |
