diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2022-03-26 23:35:50 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2022-03-26 23:35:50 +0300 |
commit | dc4a22d8d7e14c330b7ea4d633f4b909848c1ada (patch) | |
tree | b3e1772487409405720aeecf2ab774edf4e79376 | |
parent | frontend: serve from / instead of /git/ (diff) | |
download | cgitize-dc4a22d8d7e14c330b7ea4d633f4b909848c1ada.tar.gz cgitize-dc4a22d8d7e14c330b7ea4d633f4b909848c1ada.zip |
frontend: add a comment to the config
Diffstat (limited to '')
-rw-r--r-- | docker/frontend/etc/nginx/conf.d/default.conf | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/docker/frontend/etc/nginx/conf.d/default.conf b/docker/frontend/etc/nginx/conf.d/default.conf index c76fdb8..5a8a206 100644 --- a/docker/frontend/etc/nginx/conf.d/default.conf +++ b/docker/frontend/etc/nginx/conf.d/default.conf @@ -10,6 +10,7 @@ server { fastcgi_param CGIT_CONFIG /etc/cgit/cgitrc; fastcgi_param SCRIPT_FILENAME /usr/lib/cgit/cgit.cgi; + # This looks stupid. Can I substitute any variable for $fastcgi_path_info? fastcgi_split_path_info ^(/?)(.+)$; fastcgi_param PATH_INFO $fastcgi_path_info; } |