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>
This commit is contained in:
parent
6f9c54bbd1
commit
5551d0ea5e
7 changed files with 49 additions and 1 deletions
11
ops/modules/www/cache.snix.dev.nix
Normal file
11
ops/modules/www/cache.snix.dev.nix
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
imports = [
|
||||
./base.nix
|
||||
];
|
||||
|
||||
services.nginx.virtualHosts."cache.snix.dev" = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
locations."/".proxyPass = "http://build01.infra.snix.dev:5000";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue