stockholm/tv/2configs/nginx/krebs-pages.nix
2017-07-23 13:20:06 +02:00

14 lines
243 B
Nix

{ config, pkgs, ... }:
{
services.nginx = {
virtualHosts.krebs-pages = {
serverAliases = [
"krebs.${config.krebs.build.host.name}.r"
];
extraConfig = ''
root ${pkgs.krebs-pages};
'';
};
};
}