about summary refs log tree commit diff
path: root/ops/nixos/camden
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2020-06-12T01·28+0100
committertazjin <mail@tazj.in>2020-06-12T01·51+0000
commit7bad1fe852bb0a6f2661240e1e2842662c3d7e85 (patch)
tree9f147e6281fd412800d9821c5be1257d7384d496 /ops/nixos/camden
parent52c0be524e18ed9db12a51a011ef7305a743bb1e (diff)
fix(camden): addSSL -> forceSSL for all pages r/919
Change-Id: I451d1bc1a21d4ff25c0c70c963cf17bb924961db
Reviewed-on: https://cl.tvl.fyi/c/depot/+/84
Reviewed-by: lukegb <lukegb@tvl.fyi>
Diffstat (limited to 'ops/nixos/camden')
-rw-r--r--ops/nixos/camden/default.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/ops/nixos/camden/default.nix b/ops/nixos/camden/default.nix
index 0e3ab0c97452..df1520a767b2 100644
--- a/ops/nixos/camden/default.nix
+++ b/ops/nixos/camden/default.nix
@@ -326,7 +326,7 @@ in lib.fix(self: {
       default = true;
       useACMEHost = "tazj.in";
       root = depot.web.homepage;
-      addSSL = true;
+      forceSSL = true;
 
       extraConfig = ''
         ${depot.web.blog.oldRedirects}
@@ -357,7 +357,7 @@ in lib.fix(self: {
       serverName = "tvl.fyi";
       useACMEHost = "tvl.fyi";
       root = depot.web.tvl;
-      addSSL = true;
+      forceSSL = true;
 
       extraConfig = ''
         add_header Strict-Transport-Security "max-age=31536000; includeSubDomains; preload" always;
@@ -377,7 +377,7 @@ in lib.fix(self: {
     virtualHosts.cgit = {
       serverName = "code.tvl.fyi";
       useACMEHost = "tvl.fyi";
-      addSSL = true;
+      forceSSL = true;
 
       extraConfig = ''
         # Static assets must always hit the root.
@@ -395,7 +395,7 @@ in lib.fix(self: {
     virtualHosts.cgit-old = {
       serverName = "git.tazj.in";
       useACMEHost = "tazj.in";
-      addSSL = true;
+      forceSSL = true;
 
       extraConfig = ''
         return 301 https://code.tvl.fyi$request_uri;