proxmox: support certificate renewals with ACME
Certificates must still be requested manually, this just sets the domain and opens up port 80/tcp. Nothing listens there except for certbot during renewals so that’s OK.
This commit is contained in:
parent
1c1dd52325
commit
17c8e84498
2 changed files with 10 additions and 0 deletions
|
@ -6,8 +6,11 @@ enable: 1
|
|||
|
||||
IN Ping(ACCEPT) -log nolog # don’t be rude
|
||||
IN SSH(ACCEPT) -i mgmt # for ansible etc.
|
||||
IN HTTP(ACCEPT) # allow HTTP connections for renewing certificates with ACME
|
||||
|
||||
IN ACCEPT -source {{ nodes | map('device_address') | flatten | selectattr('family.value', '==', 4) | map(attribute='address') | join(',') }} # my cluster
|
||||
IN ACCEPT -source {{ nodes | map('device_address') | flatten | selectattr('family.value', '==', 6) | map(attribute='address') | join(',') }} # my cluster
|
||||
|
||||
{% for service in cluster_services %}
|
||||
{% set prefixes = service | allowed_prefixes %}
|
||||
{% set ports = service.ports | compact_numlist(range_delimiter=':') %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue