From 63673af754d77df0a4bd3fda6b38ebb91dca5bdb Mon Sep 17 00:00:00 2001 From: clarkzjw Date: Fri, 13 Jan 2023 22:57:51 -0800 Subject: cloudflare: add proxmox --- clarkzjw.cc/infra/tunnel.tf | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'clarkzjw.cc/infra/tunnel.tf') 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" { // TODO: https://github.com/cloudflare/terraform-provider-cloudflare/issues/2072 // It seems the `origin_request` here doesn't enable `no_tls_verify` in each ingress_rule // For now, you have to enable `no_tls_verify` in the dashboard - origin_request { - no_tls_verify = true - } + # origin_request { + # no_tls_verify = true + # } ingress_rule { hostname = "bt.${var.homelab_main_domain}" path = "/" @@ -26,6 +26,11 @@ resource "cloudflare_tunnel_config" "atlas_tunnel_route" { path = "/" service = "https://${var.edgerouterx_ip}" } + ingress_rule { + hostname = "proxmox.${var.homelab_main_domain}" + path = "/" + service = "https://${var.proxmox_ip}:8006" + } ingress_rule { service = "http_status:404" } -- cgit v1.2.3