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"