fix: n8n urls for auth redirects

This commit is contained in:
Noah Masur 2024-09-06 20:10:03 +00:00
parent 48b1d41aff
commit f47f397e1f
No known key found for this signature in database

View File

@ -9,12 +9,18 @@
unfreePackages = [ "n8n" ];
services.n8n = {
webhookUrl = "https://${config.hostnames.n8n}";
settings = {
listen_address = "127.0.0.1";
port = 5678;
};
};
systemd.services.n8n.environment = {
N8N_EDITOR_BASE_URL = config.services.n8n.webhookUrl;
};
# Configure Cloudflare DNS to point to this machine
services.cloudflare-dyndns.domains = [ config.hostnames.n8n ];