basic-rocket/Rocket.toml

21 lines
807 B
TOML
Raw Normal View History

2020-11-03 23:46:30 +01:00
# Global configuration of TLS:
[global.tls]
certs = "private/cert.pem"
key = "private/key.pem"
# Per Environment Configuration of TLS:
#[development]
#tls = { certs = "c:\\code\\lang\\rust\\proj\\rocket-auth-login\\examples\\tls_example\\private\\certs.pem", key = "c:\\code\\lang\\rust\\proj\\rocket-auth-login\\examples\\tls_example\\private\\key.pem" }
#[production]
#tls = { certs = "c:\\code\\lang\\rust\\proj\\rocket-auth-login\\examples\\tls_example\\private\\certs.pem", key = "c:\\code\\lang\\rust\\proj\\rocket-auth-login\\examples\\tls_example\\private\\key.pem" }
# Or relative paths:
# Per Environment Configuration of TLS:
# [development]
# tls = { certs = "private\\certs.pem", key = "private\\key.pem" }
# [production]
# tls = { certs = "private\\certs.pem", key = "private\\key.pem" }