mirror of
https://github.com/dump-dvb/nix-config.git
synced 2024-07-01 02:48:46 +02:00
21 lines
416 B
Nix
21 lines
416 B
Nix
{ pkgs, lib, ... }: {
|
|
services = {
|
|
nginx = {
|
|
enable = true;
|
|
recommendedProxySettings = true;
|
|
virtualHosts = {
|
|
"docs.dvb.solutions" = {
|
|
enableACME = true;
|
|
forceSSL = true;
|
|
locations = {
|
|
"/" = {
|
|
root = "${pkgs.dvb-dump-docs}/bin/";
|
|
index = "index.html";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|