diff options
author | makefu <github@syntax-fehler.de> | 2018-08-06 16:28:59 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2018-08-06 16:28:59 +0200 |
commit | b133bbe8ec5724c26249a5228b01e0ded368dec8 (patch) | |
tree | cb55b9d588c713b1691cefb46b24107b2b1cab35 /makefu/2configs/nginx/gold.krebsco.de.nix | |
parent | 0d129eca55cccfc062b784ceb42771e932225f35 (diff) |
ma gold.krebsco.de: init config
Diffstat (limited to 'makefu/2configs/nginx/gold.krebsco.de.nix')
-rw-r--r-- | makefu/2configs/nginx/gold.krebsco.de.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/makefu/2configs/nginx/gold.krebsco.de.nix b/makefu/2configs/nginx/gold.krebsco.de.nix new file mode 100644 index 000000000..083c0f8d7 --- /dev/null +++ b/makefu/2configs/nginx/gold.krebsco.de.nix @@ -0,0 +1,24 @@ +{ config, lib, pkgs, ... }: + +with import <stockholm/lib>; +let + gold = pkgs.fetchFromGitHub { + owner = "krebs"; + repo = "krebsgold"; + rev = "15f7a74"; + sha256= "1ya9xgg640k3hbl63022sfm44c1si2mxch8jkxindmwg4pa1y4ly"; + }; +in { + + services.nginx = { + enable = mkDefault true; + virtualHosts = { + "gold.krebsco.de" = { + enableACME = true; + forceSSL = true; + root = toString gold + "/html"; + }; + }; + }; +} + |