snix/ops/modules/www/cache.snix.dev.nix
Ilan Joselevich 5551d0ea5e feat(ops): Deploy harmonia on cache.snix.dev
Deploys Harmonia on build01, proxied through public01.
We cannot serve from build01 directly because it only supports IPv6.

Closes: https://git.snix.dev/snix/snix/issues/66
Change-Id: Iff3c16366d60c0fbfd1315a18c27fcd636a0261a
Reviewed-on: https://cl.snix.dev/c/snix/+/30274
Reviewed-by: Florian Klink <flokli@flokli.de>
Tested-by: besadii
Autosubmit: Ilan Joselevich <personal@ilanjoselevich.com>
Reviewed-by: Ilan Joselevich <personal@ilanjoselevich.com>
2025-03-31 12:39:21 +00:00

11 lines
207 B
Nix

{
imports = [
./base.nix
];
services.nginx.virtualHosts."cache.snix.dev" = {
forceSSL = true;
enableACME = true;
locations."/".proxyPass = "http://build01.infra.snix.dev:5000";
};
}