diff options
author | lassulus <lassulus@lassul.us> | 2018-05-14 22:20:08 +0200 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2018-05-14 22:20:08 +0200 |
commit | efb7452a0c5f0d4109ae188dc6abda46a20e394c (patch) | |
tree | 64d66b3b4dea33f20959265c9f2649fd5fbd274c /lass/2configs/websites/util.nix | |
parent | 3fc6ff613ff9a1c5e439d6061a2580271dcfc368 (diff) |
l websites util: make ssl optional again
Diffstat (limited to 'lass/2configs/websites/util.nix')
-rw-r--r-- | lass/2configs/websites/util.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lass/2configs/websites/util.nix b/lass/2configs/websites/util.nix index a11e8e692..816449c14 100644 --- a/lass/2configs/websites/util.nix +++ b/lass/2configs/websites/util.nix @@ -16,7 +16,7 @@ rec { in { services.nginx.virtualHosts.${domain} = { enableACME = true; - forceSSL = true; + addSSL = true; serverAliases = domains; locations."/".extraConfig = '' root /srv/http/${domain}; @@ -83,7 +83,7 @@ rec { in { services.nginx.virtualHosts."${domain}" = { enableACME = true; - forceSSL = true; + addSSL = true; serverAliases = domains; extraConfig = '' # Add headers to serve security related headers @@ -194,7 +194,7 @@ rec { in { services.nginx.virtualHosts."${domain}" = { enableACME = true; - forceSSL = true; + addSSL = true; serverAliases = domains; extraConfig = '' root /srv/http/${domain}/; |