1
0
nixfiles/hosts/web-2/blog.nix

20 lines
418 B
Nix
Raw Permalink Normal View History

{ ... }:
{
services.nginx.virtualHosts = {
"blog.clerie.de" = {
enableACME = true;
forceSSL = true;
locations."/" = {
return = ''301 https://clerie.de'';
};
locations."/impressum" = {
return = ''301 https://legal.clerie.de/impressum'';
};
locations."/datenschutz" = {
return = ''301 https://legal.clerie.de/datenschutz'';
};
};
};
}