Use DNS challenge for non-production
This commit is contained in:
parent
2e3e404727
commit
f9b7abd0b0
|
@ -66,7 +66,13 @@ xmr.local.{{ proxy_vars[env].app01.apps_base_domain }} {
|
||||||
}
|
}
|
||||||
|
|
||||||
cloud.{{ proxy_vars[env].app01.apps_base_domain }} {
|
cloud.{{ proxy_vars[env].app01.apps_base_domain }} {
|
||||||
|
{% if env == 'production' %}
|
||||||
tls {{ tls_email }}
|
tls {{ tls_email }}
|
||||||
|
{% else %}
|
||||||
|
tls {{ tls_email }} {
|
||||||
|
dns njalla {{ njalla_api_token }}
|
||||||
|
}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
header {
|
header {
|
||||||
Strict-Transport-Security "max-age=31536000; includeSubDomains; preload"
|
Strict-Transport-Security "max-age=31536000; includeSubDomains; preload"
|
||||||
|
|
Loading…
Reference in a new issue