diff options
author | clarkzjw <[email protected]> | 2023-01-13 22:16:10 -0800 |
---|---|---|
committer | clarkzjw <[email protected]> | 2023-01-13 22:16:10 -0800 |
commit | 68d24859070fe1261112949f57031da5ab32afc9 (patch) | |
tree | 5d42f3e02ea88dcef963ef0e9dc9ecd8c878d342 /clarkzjw.cc/infra/tunnel.tf | |
parent | 61b547c9444ac0f2ae925b794f8c65f3b1a429ce (diff) | |
download | homelab-68d24859070fe1261112949f57031da5ab32afc9.tar.gz |
fmt
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" |