mailbackup-relay.s2i2s.cloud.isti.cnr.it: Rule to allow traffic on port 80.

This commit is contained in:
Andrea Dell'Amico 2026-06-16 12:40:44 +02:00
parent 9bcd928d96
commit 39c0596be6
Signed by: adellam
GPG Key ID: 147ABE6CEB9E20FF
2 changed files with 14 additions and 1 deletions

View File

@ -85,6 +85,19 @@ resource "openstack_networking_secgroup_rule_v2" "bareos_fd_ingress" {
remote_ip_prefix = local.bareos_director_cidr
}
# Let's Encrypt http-01 ACME validation reaches the host on port 80 from a
# wide, changing set of source IPs, so it must be open to the world.
resource "openstack_networking_secgroup_rule_v2" "http_letsencrypt_ingress" {
security_group_id = openstack_networking_secgroup_v2.relay_access.id
description = "HTTP for Let's Encrypt http-01 ACME validation"
direction = "ingress"
ethertype = "IPv4"
protocol = "tcp"
port_range_min = 80
port_range_max = 80
remote_ip_prefix = "0.0.0.0/0"
}
# --- Network port (main private network) ---
resource "openstack_networking_port_v2" "relay_port" {
name = "mailbackup-relay-port"

File diff suppressed because one or more lines are too long