18 lines
315 B
Nix
18 lines
315 B
Nix
|
{ pkgs, lib, ... }: {
|
||
|
services.nginx = {
|
||
|
enable = true;
|
||
|
virtualHosts = {
|
||
|
"dvb.solutions" = {
|
||
|
enableACME = true;
|
||
|
forceSSL = true;
|
||
|
locations."/" = {
|
||
|
extraConfig = ''
|
||
|
return 307 https://github.com/dump-dvb;
|
||
|
'';
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
}
|
||
|
|