nixos-config/machines/yuzuru/services/static-sites.nix

17 lines
353 B
Nix
Raw Normal View History

2024-01-06 00:05:00 +01:00
{
services.nginx.virtualHosts = {
"brennende.autos" = {
enableACME = true;
forceSSL = true;
locations."~ .*".return = "303 'https://iv.sbruder.xyz/watch?v=ojToYs6nCnk&t=1684'";
};
"www.brennende.autos" = {
enableACME = true;
forceSSL = true;
globalRedirect = "https://brennende.autos/";
};
};
}