port main blog domain to mb1, redirect .net to .dev
This commit is contained in:
parent
47bea6e3d6
commit
6f42b89b9a
1 changed files with 6 additions and 2 deletions
|
@ -6,14 +6,18 @@ in
|
|||
imports = [ ../nginx.nix ];
|
||||
services.nginx = {
|
||||
virtualHosts = {
|
||||
"blog.cyplo.net" = {
|
||||
"blog.cyplo.dev" = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
locations."/" = {
|
||||
root = path;
|
||||
index = "index.html";
|
||||
};
|
||||
};
|
||||
"blog.cyplo.net" = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
globalRedirect = "blog.cyplo.dev";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue