Skip to content

Commit ed4935e

Browse files
ad-silafriks
authored andcommitted
Clarify purpose of ROOT_URL (#3759)
1 parent 5512ed3 commit ed4935e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,9 @@ Values containing `#` or `;` must be quoted using `` ` `` or `"""`.
8484

8585
- `PROTOCOL`: **http**: \[http, https, fcgi, unix\]
8686
- `DOMAIN`: **localhost**: Domain name of this server.
87-
- `ROOT_URL`: **%(PROTOCOL)s://%(DOMAIN)s:%(HTTP\_PORT)s/**: Full public URL of Gitea server.
87+
- `ROOT_URL`: **%(PROTOCOL)s://%(DOMAIN)s:%(HTTP\_PORT)s/**:
88+
Overwrite the automatically generated public URL.
89+
This is useful if the internal and the external URL don't match (e.g. in Docker).
8890
- `HTTP_ADDR`: **0.0.0.0**: HTTP listen address.
8991
- If `PROTOCOL` is set to `fcgi`, Gitea will listen for FastCGI requests on TCP socket
9092
defined by `HTTP_ADDR` and `HTTP_PORT` configuration settings.

0 commit comments

Comments
 (0)