diff options
author | tv <tv@krebsco.de> | 2017-07-23 12:50:36 +0200 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2017-07-23 21:19:14 +0200 |
commit | 517acaafe3be623d3d3ddf22e6146c628f916243 (patch) | |
tree | 1d4fc28248cec15b50d78188f1684cb45f0d0985 | |
parent | 9a925907447888714b39b0cf4e348b49a8dead9b (diff) |
tv nginx krebs-pages: init
-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 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}; + ''; + }; + }; +} |