chore: Add HTTP/HTTPS firewall rules for Load Balancer
This commit is contained in:
@@ -89,6 +89,22 @@ resource "hcloud_firewall" "cluster" {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
rule {
|
||||||
|
description = "HTTP from Load Balancer"
|
||||||
|
direction = "in"
|
||||||
|
protocol = "tcp"
|
||||||
|
port = "80"
|
||||||
|
source_ips = ["0.0.0.0/0"]
|
||||||
|
}
|
||||||
|
|
||||||
|
rule {
|
||||||
|
description = "HTTPS from Load Balancer"
|
||||||
|
direction = "in"
|
||||||
|
protocol = "tcp"
|
||||||
|
port = "443"
|
||||||
|
source_ips = ["0.0.0.0/0"]
|
||||||
|
}
|
||||||
|
|
||||||
rule {
|
rule {
|
||||||
description = "ICMP"
|
description = "ICMP"
|
||||||
direction = "in"
|
direction = "in"
|
||||||
|
|||||||
Reference in New Issue
Block a user