summaryrefslogtreecommitdiffstats
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
commit2dc8f450f3cf2ac0a0246878d81dceeecf7c9012 (patch)
treee485ccf0fe398cb2a2f7f2208f29f587c8853ffe
parentc927a1420ece533f23338eb4e4772572815e3c6d (diff)
tv nginx krebs-pages: init
-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 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};
+ '';
+ };
+ };
+}