Skip to content
Snippets Groups Projects
Commit 5d70a2b8 authored by Stéphane Diemer's avatar Stéphane Diemer
Browse files

Ignore domains with no dots for letsencrypt domains (refs #21701).

parent eb4c9c39
No related branches found
No related tags found
No related merge requests found
......@@ -42,7 +42,7 @@ def setup(interactive=True):
continue
for domain in matching.groups()[0].strip().split(' '):
domain = domain.strip()
if domain and domain != 'localhost' and domain not in domains:
if domain and domain != 'localhost' and '.' in domain and domain not in domains:
domains.append(domain)
# Get certificates
cmds = [
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment