1
0
Fork 0
mirror of https://gitlab.com/hagrid-keyserver/hagrid.git synced 2023-02-13 20:55:02 -05:00
hagrid-keyserver--hagrid/Rocket.toml.dist

56 lines
1.4 KiB
Text
Raw Normal View History

[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"
2019-05-05 08:58:05 -04:00
mail_rate_limit = 60
2019-05-05 14:17:54 -04:00
maintenance_file = "state/maintenance"
enable_prometheus = false
2019-08-28 14:33:24 -04:00
email_template_dir = "dist/email-templates"
[staging]
base-URI = "https://keys.openpgp.org"
from = "noreply@keys.openpgp.org"
x-accel-redirect = true
token_secret = "hagrid"
token_validity = 3600
template_dir = "templates"
keys_internal_dir = "keys"
keys_external_dir = "public/keys"
assets_dir = "public/assets"
token_dir = "tokens"
tmp_dir = "tmp"
2019-05-05 08:58:05 -04:00
mail_rate_limit = 60
2019-05-05 14:17:54 -04:00
maintenance_file = "maintenance"
enable_prometheus = false
2019-08-28 14:33:24 -04:00
email_template_dir = "email-templates"
[production]
base-URI = "https://keys.openpgp.org"
2019-06-22 17:12:14 -04:00
base-URI-Onion = "https://keys.openpgp.org"
from = "noreply@keys.openpgp.org"
x-accel-redirect = true
token_secret = "generated production secret"
token_validity = 3600
template_dir = "templates"
keys_internal_dir = "keys"
keys_external_dir = "public/keys"
assets_dir = "public/assets"
token_dir = "tokens"
tmp_dir = "tmp"
2019-05-05 08:58:05 -04:00
mail_rate_limit = 3600
2019-05-05 14:17:54 -04:00
maintenance_file = "maintenance"
enable_prometheus = false
2019-08-28 14:33:24 -04:00
email_template_dir = "email-templates"