mirror of
https://codeberg.org/Codeberg/pages-server.git
synced 2024-11-06 06:17:02 +00:00
77a8439ea7
This PR renames `gitea` in cli args to `forge` and `GITEA` in environment variables to `FORGE` and adds the gitea names as aliases for the forge names. Also closes #311 Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/339
33 lines
674 B
TOML
33 lines
674 B
TOML
logLevel = 'trace'
|
|
|
|
[server]
|
|
host = '127.0.0.1'
|
|
port = 443
|
|
httpPort = 80
|
|
httpServerEnabled = true
|
|
mainDomain = 'codeberg.page'
|
|
rawDomain = 'raw.codeberg.page'
|
|
allowedCorsDomains = ['fonts.codeberg.org', 'design.codeberg.org']
|
|
blacklistedPaths = ['do/not/use']
|
|
|
|
[forge]
|
|
root = 'https://codeberg.org'
|
|
token = 'XXXXXXXX'
|
|
lfsEnabled = true
|
|
followSymlinks = true
|
|
defaultMimeType = "application/wasm"
|
|
forbiddenMimeTypes = ["text/html"]
|
|
|
|
[database]
|
|
type = 'sqlite'
|
|
conn = 'certs.sqlite'
|
|
|
|
[ACME]
|
|
email = 'a@b.c'
|
|
apiEndpoint = 'https://example.com'
|
|
acceptTerms = false
|
|
useRateLimits = true
|
|
eab_hmac = 'asdf'
|
|
eab_kid = 'qwer'
|
|
dnsProvider = 'cloudflare.com'
|
|
accountConfigFile = 'nope'
|