Skip to content

Letsencrypt enable envvar#1040

Merged
featheredtoast merged 4 commits intomainfrom
letsencrypt-enable-envvar
Feb 13, 2026
Merged

Letsencrypt enable envvar#1040
featheredtoast merged 4 commits intomainfrom
letsencrypt-enable-envvar

Conversation

@featheredtoast
Copy link
Member

@featheredtoast featheredtoast commented Feb 13, 2026

Add DISABLE_LETSENCRYPT env var to disable letsencrypt from setting up from including the template.

Add ENABLE_LETSENCRYPT env var to explicitly control when letsencrypt is setup on boot.

Templates should be controllable via env var

Add `ENABLE_LETSENCRYPT` env var to control when letsencrypt is setup on boot.

Add fallback to LETSENCRYPT_ACCOUNT_EMAIL for backwards-compatibility with older config
Ensure that letsencrypt is enabled by default when generated via config
@xfalcox
Copy link
Member

xfalcox commented Feb 13, 2026

will this disable ssl for all sites created recently that don't have it?

Allow for disabling of letsencrypt template with DISABLE_LETSENCRYPT.
Override the disable flag when ENABLE_LETSENCRYPT is explicitly present
@featheredtoast
Copy link
Member Author

Updated so we have disable + enable.

Not sure about names, something like require_enable or default_disable for the disabled flag might be better, but not sure what would be the most clear here.

@featheredtoast featheredtoast merged commit 4ae1f69 into main Feb 13, 2026
8 checks passed
@featheredtoast featheredtoast deleted the letsencrypt-enable-envvar branch February 13, 2026 22:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants