mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-22 14:35:37 +00:00
fix: n8n urls for auth redirects
This commit is contained in:
parent
48b1d41aff
commit
f47f397e1f
@ -9,12 +9,18 @@
|
|||||||
unfreePackages = [ "n8n" ];
|
unfreePackages = [ "n8n" ];
|
||||||
|
|
||||||
services.n8n = {
|
services.n8n = {
|
||||||
|
webhookUrl = "https://${config.hostnames.n8n}";
|
||||||
settings = {
|
settings = {
|
||||||
listen_address = "127.0.0.1";
|
listen_address = "127.0.0.1";
|
||||||
port = 5678;
|
port = 5678;
|
||||||
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
systemd.services.n8n.environment = {
|
||||||
|
N8N_EDITOR_BASE_URL = config.services.n8n.webhookUrl;
|
||||||
|
};
|
||||||
|
|
||||||
# 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 ];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user