mirror of
https://github.com/dump-dvb/nix-config.git
synced 2024-07-01 02:48:46 +02:00
18 lines
335 B
Nix
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;
|
|
'';
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|
|
|