summaryrefslogtreecommitdiffstats
path: root/lass/3modules/static_nginx.nix
diff options
context:
space:
mode:
authorlassulus <lass@aidsballs.de>2016-03-19 22:03:40 +0100
committerlassulus <lass@aidsballs.de>2016-03-19 22:03:40 +0100
commit9494b7233e95751cb23e667935c9cc9327d0d5f6 (patch)
tree33370b32bb60b7fcec1ab39acebc8c1bc014f349 /lass/3modules/static_nginx.nix
parent658594cae25fd7ac078c80934f203e736aa10c64 (diff)
l 3 *_nginx: remove obsolete ssl option
Diffstat (limited to 'lass/3modules/static_nginx.nix')
-rw-r--r--lass/3modules/static_nginx.nix15
1 files changed, 1 insertions, 14 deletions
diff --git a/lass/3modules/static_nginx.nix b/lass/3modules/static_nginx.nix
index 93441cf0d..6e87e9853 100644
--- a/lass/3modules/static_nginx.nix
+++ b/lass/3modules/static_nginx.nix
@@ -42,10 +42,6 @@ let
certificate_key = mkOption {
type = str;
};
- ciphers = mkOption {
- type = str;
- default = "AES128+EECDH:AES128+EDH";
- };
};
});
default = {};
@@ -74,16 +70,7 @@ let
deny all;
'')
];
-
- listen = (if ssl.enable then
- [ "80" "443 ssl" ]
- else
- "80"
- );
- extraConfig = (if ssl.enable then ''
- ssl_certificate ${ssl.certificate};
- ssl_certificate_key ${ssl.certificate_key};
- '' else "");
+ inherit ssl;
});
};