fixes to n8n config

This commit is contained in:
Noah Masur 2024-05-07 23:46:03 -04:00
parent 7ce9ed564e
commit 48fbb2e2d9
No known key found for this signature in database

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}"; } ];
} }
]; ];
} }