diff options
author | tv <tv@krebsco.de> | 2017-07-23 12:50:36 +0200 |
---|---|---|
committer | tv <tv@krebsco.de> | 2017-07-23 13:20:06 +0200 |
commit | 7d32a5eb30dda247af3679b2bff1f21edfcb6b96 (patch) | |
tree | 1581c9db191cc5933bbfbc9dcee31dd9983b939b /tv | |
parent | dc7d8c6d10323f9d8d31a7b4e0b1cf92c14e5166 (diff) |
tv nginx krebs-pages: init
Diffstat (limited to 'tv')
-rw-r--r-- | tv/2configs/nginx/krebs-pages.nix | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tv/2configs/nginx/krebs-pages.nix b/tv/2configs/nginx/krebs-pages.nix new file mode 100644 index 0000000..4dd643d --- /dev/null +++ b/tv/2configs/nginx/krebs-pages.nix @@ -0,0 +1,13 @@ +{ config, pkgs, ... }: +{ + services.nginx = { + virtualHosts.krebs-pages = { + serverAliases = [ + "krebs.${config.krebs.build.host.name}.r" + ]; + extraConfig = '' + root ${pkgs.krebs-pages}; + ''; + }; + }; +} |