Skip to content
This repository was archived by the owner on Dec 2, 2017. It is now read-only.

Commit b6ac190

Browse files
cez81appleboy
authored andcommitted
Document settings for using Unix sockets (#132)
1 parent eb1225a commit b6ac190

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

content/doc/advanced/config-cheat-sheet.en-us.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,12 @@ Values containing `#` or `;` must be quoted using `` ` `` or `"""`.
5959

6060
## Server (`server`)
6161

62-
- `PROTOCOL`: Either `http` or `https` or `fcgi`.
62+
- `PROTOCOL`: Either `http`, `https`, `fcgi`, or `unix`.
6363
- `DOMAIN`: Domain name of your server.
6464
- `ROOT_URL`: Full public URL of Gitea server.
65-
- `HTTP_ADDR`: 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.
65+
- `HTTP_ADDR`: 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`, this should be the name of the Unix socket file to use.
6666
- `HTTP_PORT`: 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.
67+
- `UNIX_SOCKET_PERMISSION`: Permisson mode for Unix socket, default is 666.
6768
- `DISABLE_SSH`: Disables SSH feature when it's not available.
6869
- `START_SSH_SERVER`: Starts built-in SSH server when enabled.
6970
- `SSH_DOMAIN`: Domain name of your ssh server.

0 commit comments

Comments
 (0)