summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/bepasty-dual.nix
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2016-12-25 00:21:54 +0100
committermakefu <github@syntax-fehler.de>2016-12-25 00:21:54 +0100
commit3682e60aee26578f3163920b9feab641b21f5e5c (patch)
tree950291daf29fcb9a17a74182ffd58700312aa635 /makefu/2configs/bepasty-dual.nix
parent83ca6e1879f89c9fbc8a64442debb1f0c0a057c1 (diff)
k 3 bepasty-server: finish krebs.nginx -> servers.nginx
Diffstat (limited to 'makefu/2configs/bepasty-dual.nix')
-rw-r--r--makefu/2configs/bepasty-dual.nix14
1 files changed, 2 insertions, 12 deletions
diff --git a/makefu/2configs/bepasty-dual.nix b/makefu/2configs/bepasty-dual.nix
index a4c6777bc..936aaf004 100644
--- a/makefu/2configs/bepasty-dual.nix
+++ b/makefu/2configs/bepasty-dual.nix
@@ -26,8 +26,7 @@ in {
serveNginx= true;
servers = {
- internal = {
- domain = "paste.r";
+ "paste.r" = {
nginx = {
serverAliases = [ "paste.retiolum" "paste.${config.krebs.build.host.name}" ];
};
@@ -35,8 +34,7 @@ in {
secretKey = secKey;
};
- external = {
- domain = ext-dom;
+ "${ext-dom}" = {
nginx = {
enableSSL = true;
forceSSL = true;
@@ -47,12 +45,4 @@ in {
};
};
};
- security.acme.certs."${ext-dom}" = {
- email = "acme@syntax-fehler.de";
- webroot = "${acmechall}/${ext-dom}/";
- group = "nginx";
- allowKeysForGroup = true;
- postRun = "systemctl reload nginx.service";
- extraDomains."${ext-dom}" = null ;
- };
}