fix: add port for proxy
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
539f1ebb35
commit
57fd18ba04
1
node.tf
1
node.tf
@ -46,6 +46,7 @@ resource "null_resource" "node_caddy_template" {
|
|||||||
user = "root"
|
user = "root"
|
||||||
private_key = var.ssh_private
|
private_key = var.ssh_private
|
||||||
host = var.proxy_ip
|
host = var.proxy_ip
|
||||||
|
port = var.proxy_port
|
||||||
}
|
}
|
||||||
|
|
||||||
provisioner "file" {
|
provisioner "file" {
|
||||||
|
@ -13,6 +13,11 @@ variable "proxy_ip" {
|
|||||||
default = "10.0.9.0"
|
default = "10.0.9.0"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
variable "proxy_port" {
|
||||||
|
description = "which port to use for the caddy file"
|
||||||
|
default = 222
|
||||||
|
}
|
||||||
|
|
||||||
variable "proxy_location" {
|
variable "proxy_location" {
|
||||||
description = "which where to place the files upstream"
|
description = "which where to place the files upstream"
|
||||||
default = "/root/wireguard/nodes"
|
default = "/root/wireguard/nodes"
|
||||||
|
Loading…
Reference in New Issue
Block a user