diff options
Diffstat (limited to 'clarkzjw.cc/infra/tunnel.tf')
-rw-r--r-- | clarkzjw.cc/infra/tunnel.tf | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/clarkzjw.cc/infra/tunnel.tf b/clarkzjw.cc/infra/tunnel.tf index ba929c2..81c6ed4 100644 --- a/clarkzjw.cc/infra/tunnel.tf +++ b/clarkzjw.cc/infra/tunnel.tf | |||
@@ -14,7 +14,7 @@ resource "cloudflare_tunnel_config" "atlas_tunnel_route" { | |||
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}" |
@@ -25,7 +25,6 @@ resource "cloudflare_tunnel_config" "atlas_tunnel_route" { | |||
25 | hostname = "edgerouterx.${var.homelab_main_domain}" | 25 | hostname = "edgerouterx.${var.homelab_main_domain}" |
26 | path = "/" | 26 | path = "/" |
27 | service = "https://${var.edgerouterx_ip}" | 27 | service = "https://${var.edgerouterx_ip}" |
28 | |||
29 | } | 28 | } |
30 | ingress_rule { | 29 | ingress_rule { |
31 | service = "http_status:404" | 30 | service = "http_status:404" |