From 517acaafe3be623d3d3ddf22e6146c628f916243 Mon Sep 17 00:00:00 2001 From: tv Date: Sun, 23 Jul 2017 12:50:36 +0200 Subject: tv nginx krebs-pages: init --- tv/2configs/nginx/krebs-pages.nix | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 tv/2configs/nginx/krebs-pages.nix diff --git a/tv/2configs/nginx/krebs-pages.nix b/tv/2configs/nginx/krebs-pages.nix new file mode 100644 index 000000000..4dd643db7 --- /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}; + ''; + }; + }; +} -- cgit v1.2.3