Please work

This commit is contained in:
Andrea Ciceri 2023-06-25 12:15:18 +02:00
parent 5315feb612
commit d7e82621c8
Signed by: aciceri
SSH key fingerprint: SHA256:/AagBweyV4Hlfg9u092n8hbHwD5fcB6A3qhDiDA65Rg
16 changed files with 179 additions and 42 deletions

19
modules/proxy/default.nix Normal file
View file

@ -0,0 +1,19 @@
{
imports = [../nginx-base];
services.nginx.virtualHosts = {
"bubbleupnp.mothership.aciceri.dev" = {
forceSSL = true;
enableACME = true;
locations."/" = {
proxyPass = "http://rock5b.fleet:58050";
};
};
"transmission.mothership.aciceri.dev" = {
forceSSL = true;
enableACME = true;
locations."/" = {
proxyPass = "http://rock5b.fleet:9091";
};
};
};
}