feat: add nzb revproxy
Signed-off-by: Lander Van den Bulcke <landervandenbulcke@gmail.com>
This commit is contained in:
parent
7e668d4d48
commit
b8897b7468
1 changed files with 9 additions and 0 deletions
|
|
@ -191,6 +191,15 @@
|
||||||
NetworkNamespacePath = "/run/netns/vpn";
|
NetworkNamespacePath = "/run/netns/vpn";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
services.nginx.virtualHosts."nzb.escapeangle.com" = {
|
||||||
|
forceSSL = true;
|
||||||
|
enableACME = true;
|
||||||
|
locations."/" = {
|
||||||
|
proxyPass = "http://10.10.10.2:8080";
|
||||||
|
proxyWebsockets = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
sops = {
|
sops = {
|
||||||
defaultSopsFile = ./hosting-02.yaml;
|
defaultSopsFile = ./hosting-02.yaml;
|
||||||
secrets = {
|
secrets = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue