fixup
This commit is contained in:
parent
c8a60899ee
commit
ec2e0a7a00
2 changed files with 3 additions and 3 deletions
|
@ -27,7 +27,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.tmpfiles.rules = [
|
systemd.tmpfiles.rules = [
|
||||||
"d /run/nginx-sockets 0777 root root"
|
"d /var/lib/nginx-sockets 0777 root root"
|
||||||
];
|
];
|
||||||
|
|
||||||
networking.firewall.interfaces =
|
networking.firewall.interfaces =
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
DynamicUser = true;
|
DynamicUser = true;
|
||||||
NetworkNamespacePath = "/var/run/netns/wg";
|
NetworkNamespacePath = "/var/run/netns/wg";
|
||||||
UMask = "000";
|
UMask = "000";
|
||||||
ExecStart = "${pkgs.socat}/bin/socat -d -d UNIX-LISTEN:/run/nginx-sockets/prowlarr.sock,unlink-early,fork TCP4:127.0.0.1:9696";
|
ExecStart = "${pkgs.socat}/bin/socat -d -d UNIX-LISTEN:/var/lib/nginx-sockets/prowlarr.sock,unlink-early,fork TCP4:127.0.0.1:9696";
|
||||||
Restart = "on-failure";
|
Restart = "on-failure";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -39,7 +39,7 @@
|
||||||
|
|
||||||
locations."/" = {
|
locations."/" = {
|
||||||
recommendedProxySettings = true;
|
recommendedProxySettings = true;
|
||||||
proxyPass = "http://unix:/run/nginx-sockets/prowlarr.sock:/";
|
proxyPass = "http://unix:/var/lib/nginx-sockets/prowlarr.sock:/";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue