mirror of
https://github.com/dump-dvb/nix-config.git
synced 2024-06-14 11:56:57 +02:00
14 lines
282 B
Nix
14 lines
282 B
Nix
|
{ pkgs, config, ... }: {
|
||
|
services.nginx = {
|
||
|
enable = true;
|
||
|
virtualHosts."click.${config.dump-dvb.domain}" = {
|
||
|
enableACME = true;
|
||
|
forceSSL = true;
|
||
|
locations."/" = {
|
||
|
root = "${pkgs.click}/web/";
|
||
|
index = "index.html";
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
}
|