summaryrefslogtreecommitdiffstats
path: root/lass/2configs
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2018-05-14 22:20:08 +0200
committerlassulus <lassulus@lassul.us>2018-05-14 22:20:08 +0200
commitefb7452a0c5f0d4109ae188dc6abda46a20e394c (patch)
tree64d66b3b4dea33f20959265c9f2649fd5fbd274c /lass/2configs
parent3fc6ff613ff9a1c5e439d6061a2580271dcfc368 (diff)
l websites util: make ssl optional again
Diffstat (limited to 'lass/2configs')
-rw-r--r--lass/2configs/websites/util.nix6
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}/;