Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-pages.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRussell Dickenson <rdickenson@gitlab.com>2021-10-06 16:53:48 +0300
committerfeistel <6742251-feistel@users.noreply.gitlab.com>2021-10-07 16:47:32 +0300
commitbf039d89071e527e2e5c1bc2e64c7513d87cba1a (patch)
treea070846883eff94d951f3f29b76bfc21657a96e5 /README.md
parent4cf326e3b476628fac7c8206294d91a24aefb780 (diff)
docs: improve readme
Diffstat (limited to 'README.md')
-rw-r--r--README.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/README.md b/README.md
index 5b7f16ba..7cc142c5 100644
--- a/README.md
+++ b/README.md
@@ -21,16 +21,16 @@ current requests.
### How it serves content
-1. When client initiates the TLS connection, GitLab-Pages looks in
+1. When a client initiates the TLS connection, GitLab Pages looks in
the generated configuration for virtual hosts. If present, it uses the TLS
key and certificate in `config.json`, otherwise it falls back to the global
configuration.
-2. When a client connects to an HTTP port, GitLab-Pages looks in the
+1. When a client connects to an HTTP port, GitLab Pages looks in the
generated configuration for a matching virtual host.
-3. The URL.Path is split into `/<project>/<subpath>` and Pages tries to
+1. The URL.Path is split into `/<project>/<subpath>` and Pages tries to
load: `pages-root/group/project/public/subpath`.
-4. If the file is not found, it will try to load `pages-root/group/<host>/public/<URL.Path>`.
-5. If requested path is a directory, the `index.html` will be served.
+1. If the file is not found, it will try to load `pages-root/group/<host>/public/<URL.Path>`.
+1. If requested path is a directory, the `index.html` file is served.
6. If `.../path.gz` exists, it will be served instead of the main file, with
a `Content-Encoding: gzip` header. This allows compressed versions of the
files to be precalculated, saving CPU time and network bandwidth.