mirror of
https://github.com/hyperknot/openfreemap.git
synced 2026-05-21 14:02:15 +00:00
add SKIP_LETSENCRYPT
This commit is contained in:
@@ -27,3 +27,10 @@ HTTP_HOST_LIST=
|
|||||||
TELEGRAM_TOKEN=
|
TELEGRAM_TOKEN=
|
||||||
TELEGRAM_CHAT_ID=
|
TELEGRAM_CHAT_ID=
|
||||||
|
|
||||||
|
|
||||||
|
# --- Advanced setup, for specific use cases
|
||||||
|
|
||||||
|
# Skip the certificate management part.
|
||||||
|
# You have to manage your certs yourself, or stay with the default, self-signed certs.
|
||||||
|
SKIP_LETSENCRYPT=false
|
||||||
|
|
||||||
|
|||||||
@@ -203,6 +203,7 @@ def upload_config_json(c):
|
|||||||
domain_le = dotenv_val('DOMAIN_LE').lower()
|
domain_le = dotenv_val('DOMAIN_LE').lower()
|
||||||
domain_ledns = dotenv_val('DOMAIN_LEDNS').lower()
|
domain_ledns = dotenv_val('DOMAIN_LEDNS').lower()
|
||||||
skip_planet = dotenv_val('SKIP_PLANET').lower() == 'true'
|
skip_planet = dotenv_val('SKIP_PLANET').lower() == 'true'
|
||||||
|
skip_letsencrypt = dotenv_val('SKIP_LETSENCRYPT').lower() == 'true'
|
||||||
le_email = dotenv_val('LE_EMAIL').lower()
|
le_email = dotenv_val('LE_EMAIL').lower()
|
||||||
|
|
||||||
if not (domain_le or domain_ledns):
|
if not (domain_le or domain_ledns):
|
||||||
|
|||||||
Reference in New Issue
Block a user