nix-config/modules/data-hoarder/website.nix

20 lines
362 B
Nix
Raw Normal View History

{ config, ... }: {
services.nginx = {
enable = true;
virtualHosts = {
2022-12-30 18:29:13 +01:00
"${config.deployment-TLMS.domain}" = {
enableACME = true;
forceSSL = true;
2022-07-28 21:11:34 +02:00
locations = {
"/" = {
extraConfig = ''
2022-12-05 23:08:50 +01:00
return 307 https://map.dvb.solutions;
2022-07-28 21:11:34 +02:00
'';
};
};
};
};
};
}