summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2018-08-29 00:49:00 +0200
committermakefu <github@syntax-fehler.de>2018-08-29 00:49:00 +0200
commit70c41d322cfd91485886d32422c06888166277bc (patch)
treef81e7a4b276335ca08a5f48891783b540e3fc06b
parent3c30bf00573a4d5bc4a47cd9178dc7cc113b91a5 (diff)
retiolum-bootstrap: forceSSL
-rw-r--r--krebs/3modules/retiolum-bootstrap.nix5
1 files changed, 1 insertions, 4 deletions
diff --git a/krebs/3modules/retiolum-bootstrap.nix b/krebs/3modules/retiolum-bootstrap.nix
index 53b06a702..faa3dd714 100644
--- a/krebs/3modules/retiolum-bootstrap.nix
+++ b/krebs/3modules/retiolum-bootstrap.nix
@@ -31,11 +31,8 @@ in
enable = mkDefault true;
virtualHosts.retiolum-bootstrap = {
inherit (cfg) serverName sslCertificate sslCertificateKey;
- enableSSL = true;
+ forceSSL = true;
extraConfig =''
- if ($scheme = http){
- return 301 https://$server_name$request_uri;
- }
root ${pkgs.retiolum-bootstrap};
try_files $uri $uri/retiolum.sh;