Compare commits
No commits in common. "main" and "v0.5.4" have entirely different histories.
25
CHANGELOG.md
25
CHANGELOG.md
@ -6,31 +6,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
## [0.5.10] - 2025-01-13
|
|
||||||
|
|
||||||
### Fixed
|
|
||||||
- make sure to not brick my reverse proxy
|
|
||||||
|
|
||||||
## [0.5.8] - 2025-01-12
|
|
||||||
|
|
||||||
### Fixed
|
|
||||||
- should've been equal
|
|
||||||
|
|
||||||
## [0.5.7] - 2025-01-12
|
|
||||||
|
|
||||||
### Added
|
|
||||||
- add trigger
|
|
||||||
|
|
||||||
## [0.5.6] - 2025-01-12
|
|
||||||
|
|
||||||
### Added
|
|
||||||
- remove range from ip
|
|
||||||
|
|
||||||
## [0.5.5] - 2025-01-12
|
|
||||||
|
|
||||||
### Other
|
|
||||||
- add caddy extension
|
|
||||||
|
|
||||||
## [0.5.4] - 2025-01-12
|
## [0.5.4] - 2025-01-12
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
@ -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 ${ip}:80
|
||||||
}
|
}
|
||||||
|
6
node.tf
6
node.tf
@ -41,10 +41,6 @@ resource "null_resource" "cloud_init_deb12_node" {
|
|||||||
}
|
}
|
||||||
|
|
||||||
resource "null_resource" "node_caddy_template" {
|
resource "null_resource" "node_caddy_template" {
|
||||||
triggers = {
|
|
||||||
file_content = fileexists(local_file.node_caddy.filename) ? filemd5(local_file.node_caddy.filename) : timestamp()
|
|
||||||
}
|
|
||||||
|
|
||||||
connection {
|
connection {
|
||||||
type = "ssh"
|
type = "ssh"
|
||||||
user = "root"
|
user = "root"
|
||||||
@ -55,7 +51,7 @@ resource "null_resource" "node_caddy_template" {
|
|||||||
|
|
||||||
provisioner "file" {
|
provisioner "file" {
|
||||||
source = local_file.node_caddy.filename
|
source = local_file.node_caddy.filename
|
||||||
destination = "${var.proxy_location}/${var.name}.caddy"
|
destination = "${var.proxy_location}/${var.name}.yml"
|
||||||
}
|
}
|
||||||
|
|
||||||
depends_on = [
|
depends_on = [
|
||||||
|
Loading…
Reference in New Issue
Block a user