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
Some checks are pending
CI / Build linux-lava for x86_64-linux (push) Waiting to run
This commit is contained in:
parent
c9c6ef4a16
commit
3e56c780dd
1 changed files with 7 additions and 0 deletions
|
|
@ -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";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue