20 lines
418 B
Nix
20 lines
418 B
Nix
{ ... }:
|
|
|
|
{
|
|
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'';
|
|
};
|
|
};
|
|
};
|
|
}
|