From bacdb739624176f005461854d3f1d3dd727f2d4a Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Sat, 31 Oct 2026 13:19:32 -0700 Subject: Say each routing fact once in the server configs --- custom/servers/nginx.conf | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'custom/servers/nginx.conf') diff --git a/custom/servers/nginx.conf b/custom/servers/nginx.conf index 0cdf3ec..2f0d974 100644 --- a/custom/servers/nginx.conf +++ b/custom/servers/nginx.conf @@ -16,9 +16,8 @@ # # cgit is one CGI executable. It learns the repository and the page from # PATH_INFO and reads page options such as h= and id= from QUERY_STRING, so -# nginx must pass PATH_INFO through to the binary. cgit builds its own link -# base from SCRIPT_NAME. The five static assets are served straight off disk -# and must never be routed through cgit. +# nginx must pass PATH_INFO through to the binary. The five static assets are +# served straight off disk and must never be routed through cgit. # # nginx cannot run CGI programs itself, so a small bridge called fcgiwrap runs # the cgit.cgi binary and speaks FastCGI to nginx. Nothing below works until -- cgit