mirror of
https://codeberg.org/Codeberg/pages-server.git
synced 2024-11-26 05:55:27 +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
603 B
TOML
33 lines
603 B
TOML
logLevel = 'debug'
|
|
|
|
[server]
|
|
host = '[::]'
|
|
port = 443
|
|
httpPort = 80
|
|
httpServerEnabled = true
|
|
mainDomain = 'codeberg.page'
|
|
rawDomain = 'raw.codeberg.page'
|
|
pagesBranches = ["pages"]
|
|
allowedCorsDomains = []
|
|
blacklistedPaths = []
|
|
|
|
[forge]
|
|
root = 'https://codeberg.org'
|
|
token = 'ASDF1234'
|
|
lfsEnabled = true
|
|
followSymlinks = true
|
|
|
|
[database]
|
|
type = 'sqlite'
|
|
conn = 'certs.sqlite'
|
|
|
|
[ACME]
|
|
email = 'noreply@example.email'
|
|
apiEndpoint = 'https://acme-v02.api.letsencrypt.org/directory'
|
|
acceptTerms = false
|
|
useRateLimits = false
|
|
eab_hmac = ''
|
|
eab_kid = ''
|
|
dnsProvider = ''
|
|
accountConfigFile = 'acme-account.json'
|