2023-03-22 22:41:33 +01:00
|
|
|
{ ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
services.nginx.virtualHosts = {
|
|
|
|
"blog.clerie.de" = {
|
|
|
|
enableACME = true;
|
|
|
|
forceSSL = true;
|
|
|
|
locations."/" = {
|
|
|
|
return = ''301 https://clerie.de'';
|
|
|
|
};
|
|
|
|
locations."/impressum" = {
|
2023-03-22 22:51:19 +01:00
|
|
|
return = ''301 https://legal.clerie.de/impressum'';
|
2023-03-22 22:41:33 +01:00
|
|
|
};
|
|
|
|
locations."/datenschutz" = {
|
2023-03-22 22:51:19 +01:00
|
|
|
return = ''301 https://legal.clerie.de/datenschutz'';
|
2023-03-22 22:41:33 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|