aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'clarkzjw.cc/infra/tunnel.tf')
-rw-r--r--clarkzjw.cc/infra/tunnel.tf11
1 files changed, 8 insertions, 3 deletions
diff --git a/clarkzjw.cc/infra/tunnel.tf b/clarkzjw.cc/infra/tunnel.tf
index 81c6ed4..e891f07 100644
--- a/clarkzjw.cc/infra/tunnel.tf
+++ b/clarkzjw.cc/infra/tunnel.tf
@@ -13,9 +13,9 @@ resource "cloudflare_tunnel_config" "atlas_tunnel_route" {
13 // TODO: https://github.com/cloudflare/terraform-provider-cloudflare/issues/2072 13 // TODO: https://github.com/cloudflare/terraform-provider-cloudflare/issues/2072
14 // It seems the `origin_request` here doesn't enable `no_tls_verify` in each ingress_rule 14 // It seems the `origin_request` here doesn't enable `no_tls_verify` in each ingress_rule
15 // For now, you have to enable `no_tls_verify` in the dashboard 15 // For now, you have to enable `no_tls_verify` in the dashboard
16 origin_request { 16 # origin_request {
17 no_tls_verify = true 17 # no_tls_verify = true
18 } 18 # }
19 ingress_rule { 19 ingress_rule {
20 hostname = "bt.${var.homelab_main_domain}" 20 hostname = "bt.${var.homelab_main_domain}"
21 path = "/" 21 path = "/"
@@ -27,6 +27,11 @@ resource "cloudflare_tunnel_config" "atlas_tunnel_route" {
27 service = "https://${var.edgerouterx_ip}" 27 service = "https://${var.edgerouterx_ip}"
28 } 28 }
29 ingress_rule { 29 ingress_rule {
30 hostname = "proxmox.${var.homelab_main_domain}"
31 path = "/"
32 service = "https://${var.proxmox_ip}:8006"
33 }
34 ingress_rule {
30 service = "http_status:404" 35 service = "http_status:404"
31 } 36 }
32 } 37 }
Powered by cgit v1.2.3 (git 2.41.0)