diff --git a/nixos/boxes/vpsfree1/blog.cyplo.net.nix b/nixos/boxes/vpsfree1/blog.cyplo.net.nix new file mode 100644 index 00000000..8ce946d9 --- /dev/null +++ b/nixos/boxes/vpsfree1/blog.cyplo.net.nix @@ -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"; + }; + }; + }; + +} diff --git a/nixos/boxes/vpsfree1/default.nix b/nixos/boxes/vpsfree1/default.nix index 6e936296..e0ef9f58 100644 --- a/nixos/boxes/vpsfree1/default.nix +++ b/nixos/boxes/vpsfree1/default.nix @@ -8,6 +8,7 @@ ./cryptpad.nix ./syncthing-relay.nix ./backups.nix + ./blog.cyplo.net.nix ]; services.dockerRegistry = {