diff options
author | mscherer <mscherer@users.noreply.github.com> | 2021-12-06 05:46:11 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-05 23:46:11 -0500 |
commit | f49d160447899270fbca6370cb7ab2742dce85dc (patch) | |
tree | c0d4aba602a7ab922c77eba312540bac075ee2e8 /docs | |
parent | 9d6208965c0590e307b8b198557690257da83351 (diff) | |
download | gitea-f49d160447899270fbca6370cb7ab2742dce85dc.tar.gz gitea-f49d160447899270fbca6370cb7ab2742dce85dc.zip |
Replace "unix" by "http+unix" for PROTOCOL (#17771)
Diffstat (limited to 'docs')
-rw-r--r-- | docs/content/doc/advanced/config-cheat-sheet.en-us.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/content/doc/advanced/config-cheat-sheet.en-us.md b/docs/content/doc/advanced/config-cheat-sheet.en-us.md index 030ca7b36b..bb2eb1c8ca 100644 --- a/docs/content/doc/advanced/config-cheat-sheet.en-us.md +++ b/docs/content/doc/advanced/config-cheat-sheet.en-us.md @@ -233,7 +233,7 @@ The following configuration set `Content-Type: application/vnd.android.package-a ## Server (`server`) -- `PROTOCOL`: **http**: \[http, https, fcgi, unix, fcgi+unix\] +- `PROTOCOL`: **http**: \[http, https, fcgi, http+unix, fcgi+unix\] - `DOMAIN`: **localhost**: Domain name of this server. - `ROOT_URL`: **%(PROTOCOL)s://%(DOMAIN)s:%(HTTP\_PORT)s/**: Overwrite the automatically generated public URL. @@ -248,7 +248,7 @@ The following configuration set `Content-Type: application/vnd.android.package-a - `HTTP_ADDR`: **0.0.0.0**: HTTP listen address. - If `PROTOCOL` is set to `fcgi`, Gitea will listen for FastCGI requests on TCP socket defined by `HTTP_ADDR` and `HTTP_PORT` configuration settings. - - If `PROTOCOL` is set to `unix` or `fcgi+unix`, this should be the name of the Unix socket file to use. Relative paths will be made absolute against the AppWorkPath. + - If `PROTOCOL` is set to `http+unix` or `fcgi+unix`, this should be the name of the Unix socket file to use. Relative paths will be made absolute against the AppWorkPath. - `HTTP_PORT`: **3000**: HTTP listen port. - If `PROTOCOL` is set to `fcgi`, Gitea will listen for FastCGI requests on TCP socket defined by `HTTP_ADDR` and `HTTP_PORT` configuration settings. @@ -257,7 +257,7 @@ The following configuration set `Content-Type: application/vnd.android.package-a (DMZ) URL for Gitea workers (such as SSH update) accessing web service. In most cases you do not need to change the default value. Alter it only if your SSH server node is not the same as HTTP node. Do not set this variable - if `PROTOCOL` is set to `unix`. + if `PROTOCOL` is set to `http+unix`. - `PER_WRITE_TIMEOUT`: **30s**: Timeout for any write to the connection. (Set to 0 to disable all timeouts.) - `PER_WRITE_PER_KB_TIMEOUT`: **10s**: Timeout per Kb written to connections. |