add global redirect blog.cyplo.net -> blog.cyplo.dev
This commit is contained in:
parent
40fd4b653d
commit
55ee7fa773
2 changed files with 18 additions and 0 deletions
17
nixos/boxes/vpsfree1/blog.cyplo.net.nix
Normal file
17
nixos/boxes/vpsfree1/blog.cyplo.net.nix
Normal 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";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
}
|
|
@ -8,6 +8,7 @@
|
|||
./cryptpad.nix
|
||||
./syncthing-relay.nix
|
||||
./backups.nix
|
||||
./blog.cyplo.net.nix
|
||||
];
|
||||
|
||||
services.dockerRegistry = {
|
||||
|
|
Loading…
Reference in a new issue