summaryrefslogtreecommitdiffstats
path: root/lass/2configs/websites/util.nix
diff options
context:
space:
mode:
Diffstat (limited to 'lass/2configs/websites/util.nix')
-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}/;