summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/binary-cache/server.nix
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2019-04-18 10:16:52 +0200
committerlassulus <lassulus@lassul.us>2019-04-18 10:16:52 +0200
commit18a51d89bf2adb155306032970089591ef55a103 (patch)
tree509eaef93959cb424a3651267ab5ec100ce943a3 /makefu/2configs/binary-cache/server.nix
parent2a89d6587d5ee5d3151b5e5be05e152a539e78d0 (diff)
parent398f96dfff0579e3d62d8ea0f7fd49dd91014d16 (diff)
Merge remote-tracking branch 'gum/master'
Diffstat (limited to 'makefu/2configs/binary-cache/server.nix')
-rw-r--r--makefu/2configs/binary-cache/server.nix7
1 files changed, 4 insertions, 3 deletions
diff --git a/makefu/2configs/binary-cache/server.nix b/makefu/2configs/binary-cache/server.nix
index ad6256830..c8f68c84d 100644
--- a/makefu/2configs/binary-cache/server.nix
+++ b/makefu/2configs/binary-cache/server.nix
@@ -19,9 +19,10 @@
};
services.nginx = {
enable = true;
- virtualHosts.nix-serve = {
- serverAliases = [ "cache.gum.r"
- "cache.euer.krebsco.de"
+ virtualHosts."cache.euer.krebsco.de" = {
+ forceSSL = true;
+ enableACME = true;
+ serverAliases = [ # "cache.gum.r"
"cache.gum.krebsco.de"
];
locations."/".proxyPass= "http://localhost:${toString config.services.nix-serve.port}";