Diff options
| author | Bryce Kwon <bryce@brycekwon.com> | |
|---|---|---|
| committer | Bryce Kwon <bryce@brycekwon.com> | |
| commit | ||
| parent | ||
| tree | ||
| download | ||
Spell url the way the tree mostly does
Names keep their own spelling, so the URL trailer and CGIT_REPO_URL
stay in capitals.
Diffstat (limited to '')
| -rw-r--r-- | MANUAL.txt | 14 | |
| -rw-r--r-- | README.txt | 2 | |
| -rw-r--r-- | custom/cgitrc | 2 | |
| -rw-r--r-- | custom/servers/apache.conf | 6 | |
| -rw-r--r-- | custom/servers/lighttpd.conf | 4 | |
| -rw-r--r-- | custom/servers/nginx.conf | 16 |
6 files changed, 22 insertions, 22 deletions
@@ -122,7 +122,7 @@ commit-sort:: css:: Url which specifies the css document to include in all cgit pages. May - be given multiple times, and each css URL path is added in the head + be given multiple times, and each css url path is added in the head section of the document in turn. Setting this to an empty string will disable generation of the link to this file in the head section. Default value: "/cgit.css". @@ -160,7 +160,7 @@ enable-blame:: enable-cache-list:: Flag which, when set to "1", exposes the "ls_cache" page. That page - lists the cache directory path and the URLs other visitors requested. + lists the cache directory path and the urls other visitors requested. Default value: "0". enable-commit-graph:: @@ -315,7 +315,7 @@ include:: js:: Url which specifies the javascript script document to include in all - cgit pages. May be given multiple times, and each script URL path is + cgit pages. May be given multiple times, and each script url path is added in the head section of the document in turn. Each is loaded with defer, so it runs once the page has been parsed, still in the order given. Setting this to an empty string will disable generation of the @@ -777,9 +777,9 @@ specification with one of these strings. 'html_attr(str)':: HTML escapes for an attribute and writes 'str' to the webpage. 'html_url_path(str)':: - URL escapes for a path and writes 'str' to the webpage. + Url escapes for a path and writes 'str' to the webpage. 'html_url_arg(str)':: - URL escapes for an argument and writes 'str' to the webpage. + Url escapes for an argument and writes 'str' to the webpage. 'html_include(file)':: Includes 'file' in webpage. @@ -915,7 +915,7 @@ The cache --------- All cache ttl values are in minutes. Negative ttl values indicate that a page -type will never expire, and thus the first time a URL is accessed, the result +type will never expire, and thus the first time a url is accessed, the result will be cached indefinitely, even if the underlying git repository changes. Conversely, when a ttl value is zero, the cache is disabled for that particular page type. A response larger than "cache-max-slot-size" is served but not kept. @@ -925,7 +925,7 @@ created by cgit itself. Create the directory ahead of time, owned by the account the web server runs cgit as, with mode 0700. cgit creates its files by name without guarding against links planted beside them, so a directory other accounts can write to would let those accounts redirect the writes. A directory -other accounts can read exposes every cached page along with the URLs visitors +other accounts can read exposes every cached page along with the urls visitors asked for. @@ -142,7 +142,7 @@ On Lua 5.5 the auth and email filters need luaossl 20260910 or later, since earlier builds fail to load there. -URLs and query parameters +Urls and query parameters ------------------------- cgit serves every page from one CGI program, so a url names the repository, the diff --git a/custom/cgitrc b/custom/cgitrc index 5999069..2ad5b30 100644 --- a/custom/cgitrc +++ b/custom/cgitrc @@ -19,7 +19,7 @@ cache-size=0 # Directory used to store cgit cache entries. Value is a filesystem path that # may use macros. Default is /var/cache/cgit. The directory must be owned by the # account the web server runs cgit as, with mode 0700, since the cache holds -# every rendered page and the URLs visitors asked for. +# every rendered page and the urls visitors asked for. cache-root=/var/cache/cgit # Minutes to cache the repository index page. Value is an integer. Default is 5. diff --git a/custom/servers/apache.conf b/custom/servers/apache.conf index 690b8f1..6c85ee3 100644 --- a/custom/servers/apache.conf +++ b/custom/servers/apache.conf @@ -17,7 +17,7 @@ # cgit CGI binary /usr/lib/cgit/cgit.cgi # static assets /usr/share/cgit (cgit.css cgit.js cgit.png favicon.ico robots.txt) # cgit config /etc/cgitrc -# public URL https://git.example.org/ (cgit at the domain root) +# public url https://git.example.org/ (cgit at the domain root) # # 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. The @@ -250,9 +250,9 @@ AddType text/plain .txt Alias /favicon.ico /usr/share/cgit/favicon.ico Alias /robots.txt /usr/share/cgit/robots.txt - # Mapping / makes cgit the handler for every URL the static Aliases above + # Mapping / makes cgit the handler for every url the static Aliases above # did not already claim. The trailing slash on cgit.cgi/ is load bearing, - # telling Apache that cgit.cgi is the program and the rest of the URL is + # telling Apache that cgit.cgi is the program and the rest of the url is # PATH_INFO. cgit derives its link base from SCRIPT_NAME, which at the # domain root is / and needs no tuning. For a sub-path install see the # note below. diff --git a/custom/servers/lighttpd.conf b/custom/servers/lighttpd.conf index 18f1652..edbf162 100644 --- a/custom/servers/lighttpd.conf +++ b/custom/servers/lighttpd.conf @@ -15,7 +15,7 @@ # cgit CGI binary /usr/lib/cgit/cgit.cgi # static assets /usr/share/cgit (cgit.css cgit.js cgit.png favicon.ico robots.txt) # cgit config /etc/cgitrc -# public URL https://git.example.org/ (cgit at the domain root) +# public url https://git.example.org/ (cgit at the domain root) # # 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. The @@ -122,7 +122,7 @@ $HTTP["host"] == "git.example.org" { # hands everything else to cgit. # # The trailing slash on cgit.cgi/ is load bearing. lighttpd builds the - # physical path by stripping the matched key off the front of the URL and + # physical path by stripping the matched key off the front of the url and # appending the rest to the value. For the key / the remainder carries no # leading slash, so without the trailing slash a request for # /linux/tree/kernel/sched.c glues onto the binary name as diff --git a/custom/servers/nginx.conf b/custom/servers/nginx.conf index 0658554..7c2edbe 100644 --- a/custom/servers/nginx.conf +++ b/custom/servers/nginx.conf @@ -12,7 +12,7 @@ # cgit CGI binary /usr/lib/cgit/cgit.cgi # static assets /usr/share/cgit (cgit.css cgit.js cgit.png favicon.ico robots.txt) # cgit config /etc/cgitrc -# public URL https://git.example.org/ (cgit at the domain root) +# public url https://git.example.org/ (cgit at the domain root) # # 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 @@ -193,7 +193,7 @@ http { # The document root is the directory that holds the static assets. # cgit's default css, js, logo and favicon settings are absolute links - # to these files, so they must resolve at the root of the URL space. + # to these files, so they must resolve at the root of the url space. root /usr/share/cgit; # The only request body cgit ever reads is the auth-filter login form, @@ -206,17 +206,17 @@ http { # Match the assets by their exact root-level names, never by bare # extension. A repository can hold files ending in .css or .png, and - # /myrepo/tree/style.css is a real cgit URL a broad match would + # /myrepo/tree/style.css is a real cgit url a broad match would # capture and 404. The regex anchored at ^/ matches /cgit.css but # never /myrepo/tree/cgit.css, and a regex location beats the prefix - # location below, so assets win their exact URLs and cgit the rest. + # location below, so assets win their exact urls and cgit the rest. location ~ ^/(cgit\.css|cgit\.js|cgit\.png|favicon\.ico|robots\.txt)$ { expires 30d; access_log off; try_files $uri =404; } - # Everything else is a cgit URL. + # Everything else is a cgit url. location / { # The CGI environment, normally "include fastcgi_params", written # out here so this config stands alone. The cookie and referer @@ -248,11 +248,11 @@ http { # explicit and lets you move cgitrc without recompiling. fastcgi_param CGIT_CONFIG /etc/cgitrc; - # The browser's Host header, so cgit builds clone URLs against the + # The browser's Host header, so cgit builds clone urls against the # name the visitor used rather than server_name. fastcgi_param HTTP_HOST $http_host; - # The real scheme, so cgit builds correct https clone URLs. + # The real scheme, so cgit builds correct https clone urls. fastcgi_param HTTPS $https if_not_empty; # The routine remainder, needed by fcgiwrap and by the login form. @@ -290,7 +290,7 @@ http { # To serve cgit at https://git.example.org/cgit/ instead of the root, split -# the URL so SCRIPT_NAME is the prefix and PATH_INFO is the rest. Keep every +# the url so SCRIPT_NAME is the prefix and PATH_INFO is the rest. Keep every # other fastcgi_param from the location above. # # location /cgit/ { |
