From 7bad1fe852bb0a6f2661240e1e2842662c3d7e85 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Fri, 12 Jun 2020 02:28:38 +0100 Subject: [PATCH] fix(camden): addSSL -> forceSSL for all pages Change-Id: I451d1bc1a21d4ff25c0c70c963cf17bb924961db Reviewed-on: https://cl.tvl.fyi/c/depot/+/84 Reviewed-by: lukegb --- ops/nixos/camden/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ops/nixos/camden/default.nix b/ops/nixos/camden/default.nix index 0e3ab0c97..df1520a76 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;