3 Commits

Author SHA1 Message Date
9087b75d5b fix: make sure to not brick my reverse proxy
All checks were successful
continuous-integration/drone/push Build is passing
2025-01-13 20:01:15 +01:00
8d7aea6894 chore(release): v0.5.9
All checks were successful
continuous-integration/drone/tag Build is passing
2025-01-13 20:01:15 +01:00
b793003532 chore: fall back on timestamp if file not exists
All checks were successful
continuous-integration/drone/push Build is passing
2025-01-12 14:25:55 +01:00
2 changed files with 3 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
@${name}-node ${replace(name, "_", "-")}.nodes.i.kjuulh.io @${name}-node ${replace(name, "_", "-")}.nodes.i.kjuulh.io
handle ${name}-node { handle @${name}-node {
reverse-proxy ${split("/", ip)[0]}:80 reverse_proxy ${split("/", ip)[0]}:80
} }

View File

@@ -42,7 +42,7 @@ resource "null_resource" "cloud_init_deb12_node" {
resource "null_resource" "node_caddy_template" { resource "null_resource" "node_caddy_template" {
triggers = { triggers = {
file_content = filemd5(local_file.node_caddy.filename) file_content = fileexists(local_file.node_caddy.filename) ? filemd5(local_file.node_caddy.filename) : timestamp()
} }
connection { connection {