-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #183 from rtCamp/feat/dns-challenge-certbot
Add bench specific cloudflare certbot config
- Loading branch information
Showing
7 changed files
with
212 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,34 @@ | ||
name = "example.com" | ||
# Denotes the bench name. | ||
# Should not be edited by user. | ||
name = "fm.com" | ||
|
||
# when true enables frappe developer mode | ||
# Enables Frappe developer mode for the bench. | ||
developer_mode = false | ||
|
||
# when true enables admin tools mode | ||
# Enables admin tools (e.g., Mailhog and Adminer) for the bench. | ||
admin_tools = false | ||
|
||
# "prod" -> for bench prod environment | ||
# "dev" -> for bench dev environment | ||
# Sets the bench environment to either "prod" (production) or "dev" (development). | ||
environment_type = "prod" | ||
|
||
# enable ssl if defined | ||
[ssl] | ||
# ssl_type -> "letsencrypt" / "disable" | ||
# Sets the SSL type to be used by the bench, in this case, "letsencrypt" for Let's Encrypt. | ||
ssl_type = "letsencrypt" | ||
# only applicable if ssl_type is "letsencrypt" | ||
|
||
# Controls the HSTS (HTTP Strict Transport Security) header used by the bench. | ||
# When set to "off", the HSTS header will not be included. | ||
hsts = "off" | ||
# only applicable if ssl_type is "letsencrypt" | ||
email = "[email protected]" | ||
|
||
# Specifies the preferred Certbot challenge method to be used for Let's Encrypt certificate validation. | ||
preferred_challenge = "http01" | ||
|
||
# The email address associated with Let's Encrypt. | ||
# This is used for notifications, recovery, and is used with `api_key` for the Global API key of Cloudflare. | ||
# For more information, see [this documentation](https://certbot-dns-cloudflare.readthedocs.io/en/stable/#certbot-cloudflare-key-ini). | ||
email = "[email protected]" | ||
|
||
# Cloudflare Global API Key for Let's Encrypt DNS01 Challenge. | ||
api_token = "0123456789abcdef0123456789abcdef01234567" | ||
|
||
# Cloudflare API token for Let's Encrypt DNS01 Challenge. | ||
api_key = "0123456789abcdef0123456789abcdef01234" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,15 @@ | ||
# Don't change the version no this will affect the migrations. | ||
version = "0.13.0" # set by fm to the current version | ||
# Denotes the current version of fm. | ||
# Should not be edited by user. | ||
version = "0.14.0" | ||
|
||
# Email used by Let's Encrypt if set then fm will never ask email for Let's Encrypt. | ||
le_email = '[email protected]' | ||
[letsencrypt] | ||
# The email address associated with Let's Encrypt. | ||
# This is used for notifications, recovery, and is used with api_key for the Global API key of Cloudflare. | ||
# For more information, see [this documentation](https://certbot-dns-cloudflare.readthedocs.io/en/stable/#certbot-cloudflare-key-ini). | ||
email = '[email protected]' | ||
|
||
# Cloudflare API token for Let's Encrypt DNS01 Challenge. | ||
api_key = '0123456789abcdef0123456789abcdef01234' | ||
|
||
# Cloudflare Global API Key for Let's Encrypt DNS01 Challenge. | ||
api_token = '0123456789abcdef0123456789abcdef01234567' |
Oops, something went wrong.