mirror of
https://github.com/nmasur/dotfiles
synced 2024-12-24 17:44:52 +00:00
unused n8n setup
This commit is contained in:
parent
7ddd9d9aa4
commit
52f9057ee5
21
modules/services/n8n.nix
Normal file
21
modules/services/n8n.nix
Normal file
@ -0,0 +1,21 @@
|
||||
{ ... }: {
|
||||
|
||||
services.n8n = {
|
||||
enable = true;
|
||||
settings = {
|
||||
n8n = {
|
||||
listenAddress = "127.0.0.1";
|
||||
port = 5678;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
caddyRoutes = [{
|
||||
match = [{ host = [ config.n8nServer ]; }];
|
||||
handle = [{
|
||||
handler = "reverse_proxy";
|
||||
upstreams = [{ dial = "localhost:5678"; }];
|
||||
}];
|
||||
}];
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user