feat: add pyload

This commit is contained in:
2025-11-23 11:28:57 +01:00
parent d6f206f0bb
commit 1a70ca9564
6 changed files with 112 additions and 1 deletions

View File

@@ -33,4 +33,21 @@
proxyPass = "http://${config.networkPrefix}.97.10";
};
};
services.nginx.virtualHosts."dl.cloonar.com" = {
forceSSL = true;
enableACME = true;
acmeRoot = null;
# Restrict to internal LAN only
extraConfig = ''
allow ${config.networkPrefix}.96.0/24;
allow ${config.networkPrefix}.98.0/24;
deny all;
'';
locations."/" = {
proxyPass = "http://${config.networkPrefix}.97.11:8000";
proxyWebsockets = true;
};
};
}