feat: removed lb, added managed cert
This commit is contained in:
@@ -26,3 +26,9 @@ resource "hcloud_network_route" "gateway" {
|
||||
destination = "0.0.0.0/0"
|
||||
gateway = local.nat-private-ip
|
||||
}
|
||||
|
||||
// A managed certificate for the domain, to be used by the load balancer.
|
||||
resource "hcloud_managed_certificate" "managed_cert" {
|
||||
name = "managed_cert"
|
||||
domain_names = ["*.${local.domain}", "${local.domain}"]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user