From 2dc8f450f3cf2ac0a0246878d81dceeecf7c9012 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 (limited to 'tv/2configs/nginx') 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