summaryrefslogtreecommitdiffstats
path: root/tv
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2017-07-23 12:50:36 +0200
committertv <tv@krebsco.de>2017-07-23 13:20:06 +0200
commit7d32a5eb30dda247af3679b2bff1f21edfcb6b96 (patch)
tree1581c9db191cc5933bbfbc9dcee31dd9983b939b /tv
parentdc7d8c6d10323f9d8d31a7b4e0b1cf92c14e5166 (diff)
tv nginx krebs-pages: init
Diffstat (limited to 'tv')
-rw-r--r--tv/2configs/nginx/krebs-pages.nix13
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};
+ '';
+ };
+ };
+}