Diff options
| author | Bryce Kwon <bryce@brycekwon.com> | |
|---|---|---|
| committer | Bryce Kwon <bryce@brycekwon.com> | |
| commit | ||
| parent | ||
| tree | ||
| download | ||
Say each routing fact once in the server configs
Diffstat (limited to '')
| -rw-r--r-- | custom/servers/nginx.conf | 5 |
1 file changed, 2 insertions, 3 deletions
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 |
