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

20 lines
362 B
Nix

{ config, ... }: {
services.nginx = {
enable = true;
virtualHosts = {
"${config.deployment-TLMS.domain}" = {
enableACME = true;
forceSSL = true;
locations = {
"/" = {
extraConfig = ''
return 307 https://map.dvb.solutions;
'';
};
};
};
};
};
}