Compare commits

...

2 Commits

Author SHA1 Message Date
Noah Masur
45ec4e5a3f
try switching from checksum to etag 2024-05-08 00:09:47 -04:00
Noah Masur
48fbb2e2d9
fixes to n8n config 2024-05-07 23:46:03 -04:00
2 changed files with 4 additions and 6 deletions

View File

@ -17,7 +17,7 @@ data "aws_s3_object" "image" {
} }
resource "terraform_data" "image_replacement" { resource "terraform_data" "image_replacement" {
input = data.aws_s3_object.image.checksum_sha256 input = data.aws_s3_object.image.etag
} }
# Setup IAM access for the VM Importer # Setup IAM access for the VM Importer

View File

@ -10,12 +10,10 @@
services.n8n = { services.n8n = {
settings = { settings = {
n8n = { listen_address = "127.0.0.1";
listenAddress = "127.0.0.1";
port = 5678; port = 5678;
}; };
}; };
};
# Configure Cloudflare DNS to point to this machine # Configure Cloudflare DNS to point to this machine
services.cloudflare-dyndns.domains = [ config.hostnames.n8n ]; services.cloudflare-dyndns.domains = [ config.hostnames.n8n ];
@ -27,7 +25,7 @@
handle = [ handle = [
{ {
handler = "reverse_proxy"; handler = "reverse_proxy";
upstreams = [ { dial = "localhost:${builtins.toString config.services.n8n.settings.n8n.port}"; } ]; upstreams = [ { dial = "localhost:${builtins.toString config.services.n8n.settings.port}"; } ];
} }
]; ];
} }