mailbackup-relay.s2i2s.cloud.isti.cnr.it: Rule to allow traffic on port 80.
This commit is contained in:
parent
9bcd928d96
commit
39c0596be6
|
|
@ -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
Loading…
Reference in New Issue