Testing removal of nginx

This commit is contained in:
rasmus-kirk
2024-08-30 22:13:58 +02:00
parent dd55f7fec0
commit 8e89c15e1e
9 changed files with 1 additions and 170 deletions
-22
View File
@@ -104,27 +104,5 @@ in {
}
];
};
services.nginx = mkIf cfg.vpn.enable {
enable = true;
recommendedTlsSettings = true;
recommendedOptimisation = true;
recommendedGzipSettings = true;
virtualHosts."127.0.0.1:${builtins.toString config.bazarr.listenPort}" = {
listen = [
{
addr = "0.0.0.0";
port = config.bazarr.listenPort;
}
];
locations."/" = {
recommendedProxySettings = true;
proxyWebsockets = true;
proxyPass = "http://192.168.15.1:${builtins.toString config.bazarr.listenPort}";
};
};
};
};
}