mirror of
https://github.com/oqyude/nixos.git
synced 2026-08-09 08:03:16 +03:00
Compare commits
2
Commits
acd8b33a8b
...
d033c55b4e
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d033c55b4e | ||
|
|
3c3e3c75fb |
@@ -9,14 +9,10 @@
|
|||||||
let
|
let
|
||||||
configDir = "${xlib.dirs.services-mnt-folder}/n8n";
|
configDir = "${xlib.dirs.services-mnt-folder}/n8n";
|
||||||
varDir = "/var/lib/n8n";
|
varDir = "/var/lib/n8n";
|
||||||
master = import inputs.nixpkgs-beets {
|
|
||||||
system = "x86_64-linux";
|
|
||||||
};
|
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
services.n8n = {
|
services.n8n = {
|
||||||
enable = true;
|
enable = false;
|
||||||
package = master.n8n;
|
|
||||||
environment = {
|
environment = {
|
||||||
# N8N_USER_FOLDER = lib.mkForce "${configDir}";
|
# N8N_USER_FOLDER = lib.mkForce "${configDir}";
|
||||||
N8N_SECURE_COOKIE = "false";
|
N8N_SECURE_COOKIE = "false";
|
||||||
|
|||||||
@@ -84,6 +84,23 @@ in
|
|||||||
client_max_body_size 5G;
|
client_max_body_size 5G;
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
"nextcloud.zeroq.su" = {
|
||||||
|
forceSSL = false;
|
||||||
|
enableACME = false;
|
||||||
|
locations = {
|
||||||
|
"/" = {
|
||||||
|
proxyPass = "http://${server}:10000";
|
||||||
|
proxyWebsockets = true;
|
||||||
|
};
|
||||||
|
"/whiteboard" = {
|
||||||
|
proxyPass = "http://${server}:3002";
|
||||||
|
proxyWebsockets = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
extraConfig = ''
|
||||||
|
client_max_body_size 5G;
|
||||||
|
'';
|
||||||
|
};
|
||||||
"n8n.local" = {
|
"n8n.local" = {
|
||||||
forceSSL = false;
|
forceSSL = false;
|
||||||
enableACME = false;
|
enableACME = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user