From 57fd18ba0410efa1ba1206d59c4132afe64d758b Mon Sep 17 00:00:00 2001 From: kjuulh Date: Sun, 12 Jan 2025 14:02:33 +0100 Subject: [PATCH] fix: add port for proxy --- node.tf | 1 + variables.tf | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/node.tf b/node.tf index cece67a..815c923 100644 --- a/node.tf +++ b/node.tf @@ -46,6 +46,7 @@ resource "null_resource" "node_caddy_template" { user = "root" private_key = var.ssh_private host = var.proxy_ip + port = var.proxy_port } provisioner "file" { diff --git a/variables.tf b/variables.tf index 9a97f48..416bd23 100644 --- a/variables.tf +++ b/variables.tf @@ -13,6 +13,11 @@ variable "proxy_ip" { default = "10.0.9.0" } +variable "proxy_port" { + description = "which port to use for the caddy file" + default = 222 +} + variable "proxy_location" { description = "which where to place the files upstream" default = "/root/wireguard/nodes"