mirror of
https://gitlab.com/hagrid-keyserver/hagrid.git
synced 2023-02-13 20:55:02 -05:00
41 lines
1,011 B
TOML
41 lines
1,011 B
TOML
[global]
|
|
address = "0.0.0.0"
|
|
port = 8080
|
|
|
|
[development]
|
|
base-URI = "http://localhost:8080"
|
|
from = "noreply@localhost"
|
|
x-accel-redirect = false
|
|
token_secret = "hagrid"
|
|
token_validity = 3600
|
|
template_dir = "dist/templates"
|
|
assets_dir = "dist/assets"
|
|
keys_internal_dir = "state/keys-internal"
|
|
keys_external_dir = "state/keys-external"
|
|
token_dir = "state/tokens"
|
|
tmp_dir = "state/tmp"
|
|
maintenance_file = "state/maintenance"
|
|
|
|
[staging]
|
|
base-URI = "https://keys.openpgp.org"
|
|
from = "noreply@keys.openpgp.org"
|
|
x-accel-redirect = true
|
|
template_dir = "templates"
|
|
keys_internal_dir = "keys"
|
|
keys_external_dir = "public/keys"
|
|
assets_dir = "public/assets"
|
|
token_dir = "tokens"
|
|
tmp_dir = "tmp"
|
|
maintenance_file = "maintenance"
|
|
|
|
[production]
|
|
base-URI = "https://keys.openpgp.org"
|
|
from = "noreply@keys.openpgp.org"
|
|
x-accel-redirect = true
|
|
template_dir = "templates"
|
|
keys_internal_dir = "keys"
|
|
keys_external_dir = "public/keys"
|
|
assets_dir = "public/assets"
|
|
token_dir = "tokens"
|
|
tmp_dir = "tmp"
|
|
maintenance_file = "maintenance"
|