add global redirect blog.cyplo.net -> blog.cyplo.dev

This commit is contained in:
Cyryl Płotnicki 2022-08-21 13:02:23 +01:00
parent 40fd4b653d
commit 55ee7fa773
2 changed files with 18 additions and 0 deletions

View file

@ -0,0 +1,17 @@
{ config, pkgs, inputs, lib, ... }:
{
imports = [ ../nginx.nix ];
services.nginx = {
virtualHosts = {
"blog.cyplo.net" = {
forceSSL = true;
enableACME = true;
globalRedirect = "blog.cyplo.dev";
};
};
};
}

View file

@ -8,6 +8,7 @@
./cryptpad.nix
./syncthing-relay.nix
./backups.nix
./blog.cyplo.net.nix
];
services.dockerRegistry = {