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 ];
|
imports = [ ../nginx.nix ];
|
||||||
services.nginx = {
|
services.nginx = {
|
||||||
virtualHosts = {
|
virtualHosts = {
|
||||||
"blog.cyplo.net" = {
|
"blog.cyplo.dev" = {
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
locations."/" = {
|
locations."/" = {
|
||||||
root = path;
|
root = path;
|
||||||
index = "index.html";
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
"blog.cyplo.net" = {
|
||||||
|
forceSSL = true;
|
||||||
|
enableACME = true;
|
||||||
|
globalRedirect = "blog.cyplo.dev";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue