nix-config/modules/website.nix
2022-05-14 21:48:51 +02:00

18 lines
335 B
Nix

{ pkgs, lib, config, ... }: {
services.nginx = {
enable = true;
virtualHosts = {
"${config.dvb-dump.domain}" = {
enableACME = true;
forceSSL = true;
locations."/" = {
extraConfig = ''
return 307 https://github.com/dump-dvb;
'';
};
};
};
};
}