diff options
author | makefu <github@syntax-fehler.de> | 2018-08-29 00:49:00 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2018-08-29 00:49:00 +0200 |
commit | 70c41d322cfd91485886d32422c06888166277bc (patch) | |
tree | f81e7a4b276335ca08a5f48891783b540e3fc06b /krebs/3modules/retiolum-bootstrap.nix | |
parent | 3c30bf00573a4d5bc4a47cd9178dc7cc113b91a5 (diff) |
retiolum-bootstrap: forceSSL
Diffstat (limited to 'krebs/3modules/retiolum-bootstrap.nix')
-rw-r--r-- | krebs/3modules/retiolum-bootstrap.nix | 5 |
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; |