services/website: redirect cdn.lava.moe to sh.lava.moe
Some checks are pending
CI / Build linux-lava for x86_64-linux (push) Waiting to run

This commit is contained in:
Cilly Leang 2026-03-18 20:43:04 +11:00
parent c9c6ef4a16
commit 3e56c780dd
Signed by: cilly
GPG key ID: 6500251E087653C9

View file

@ -18,6 +18,13 @@ in {
root = inputs.website.outPath;
};
"cdn.lava.moe" = {
useACMEHost = "lava.moe";
forceSSL = true;
extraConfig = ''
return 301 https://sh.lava.moe$request_uri;
'';
};
"sh.lava.moe" = {
useACMEHost = "lava.moe";
forceSSL = true;
root = "/persist/cdn";