feat(hosts/luna): redirect blog to main domain
Some checks failed
Check Formatting of Files / Check-Formatting (push) Failing after 49s
Some checks failed
Check Formatting of Files / Check-Formatting (push) Failing after 49s
This commit is contained in:
parent
02246e3b5d
commit
5f173b8a2d
@ -18,7 +18,13 @@
|
||||
defaults.email = "price@orion-technologies.io";
|
||||
};
|
||||
|
||||
services.nginx.virtualHosts."blog.${fqdn}" = {
|
||||
services.nginx.virtualHosts = {
|
||||
"blog.${fqdn}" = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
globalRedirect = "price-hiller.com";
|
||||
};
|
||||
"price-hiller.com" = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
root = inputs.blog.packages.${pkgs.system}.default;
|
||||
@ -30,4 +36,5 @@
|
||||
'';
|
||||
locations."/".index = "home.html";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user