mirror of
https://github.com/dump-dvb/nix-config.git
synced 2024-05-29 04:20:48 +02:00
Grigory Shipunov
62b9aa6cbd
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
21 lines
431 B
Nix
21 lines
431 B
Nix
{ pkgs, config, ... }: {
|
|
services = {
|
|
nginx = {
|
|
enable = true;
|
|
recommendedProxySettings = true;
|
|
virtualHosts = {
|
|
"docs.${config.dump-dvb.domain}" = {
|
|
enableACME = true;
|
|
forceSSL = true;
|
|
locations = {
|
|
"/" = {
|
|
root = "${pkgs.dvb-dump-docs}/bin/";
|
|
index = "index.html";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|