This commit is contained in:
Torsten 2022-04-09 17:34:39 +03:00
parent 316653bffa
commit 37e70617f8
1 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,15 @@
LetsEncrypt.config do |config|
# Using Let's Encrypt staging server or not
# Default only `Rails.env.production? == true` will use Let's Encrypt production server.
config.use_staging = false
# Set the private key path
# Default is locate at config/letsencrypt.key
config.private_key_path = Rails.root.join('config', 'letsencrypt.key')
# Use environment variable to set private key
# If enable, the API Client will use `LETSENCRYPT_PRIVATE_KEY` as private key
# Default is false
config.use_env_key = false
end