diff options
author | jeschli <jeschli@gmail.com> | 2018-08-21 19:52:30 +0200 |
---|---|---|
committer | jeschli <jeschli@gmail.com> | 2018-08-21 19:52:30 +0200 |
commit | 8cfc4f5eda10b1025a4ad3b9725deb9ad7a32338 (patch) | |
tree | 4a9626e685bc076461f5e63c55e29e3689d2eedd /makefu/2configs/nginx | |
parent | f2dadea808323f69531c51b12ed5cb872ac933a0 (diff) | |
parent | 89951ebd816248bc4e62b2dad78b5db906c3cefe (diff) |
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'makefu/2configs/nginx')
-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 00000000..083c0f8d --- /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"; + }; + }; + }; +} + |