From dc4a22d8d7e14c330b7ea4d633f4b909848c1ada Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sat, 26 Mar 2022 23:35:50 +0300 Subject: frontend: add a comment to the config --- docker/frontend/etc/nginx/conf.d/default.conf | 1 + 1 file changed, 1 insertion(+) (limited to 'docker/frontend') 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; } -- cgit v1.2.3