aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2022-03-26 23:35:50 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2022-03-26 23:35:50 +0300
commitdc4a22d8d7e14c330b7ea4d633f4b909848c1ada (patch)
treeb3e1772487409405720aeecf2ab774edf4e79376
parentfrontend: serve from / instead of /git/ (diff)
downloadcgitize-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.conf1
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;
}