about summary refs log tree commit diff
path: root/ops
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2021-02-10T17·54+0200
committertazjin <mail@tazj.in>2021-02-10T17·56+0000
commit3a45e029af57fffcda75a5be77159345a66da412 (patch)
treef3aa98434aaccd0cc51fa5175b2a874c3cde2db5 /ops
parent8d7c24d3db5ee743c6a9d40b3f53929f8723e0e7 (diff)
fix(ops/www/tazj.in): Force SSL for git.tazj.in redirect r/2201
Change-Id: If5b8096cb693d96936f9b954e2ebe3dc9b63af66
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2521
Tested-by: BuildkiteCI
Reviewed-by: tazjin <mail@tazj.in>
Diffstat (limited to 'ops')
-rw-r--r--ops/nixos/www/tazj.in.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/ops/nixos/www/tazj.in.nix b/ops/nixos/www/tazj.in.nix
index 89ff6a8ee3d7..c33c9560deac 100644
--- a/ops/nixos/www/tazj.in.nix
+++ b/ops/nixos/www/tazj.in.nix
@@ -29,6 +29,7 @@ in {
 
     services.nginx.virtualHosts."git.tazj.in" = {
       enableACME = true;
+      forceSSL = true;
       extraConfig = "return 301 https://code.tvl.fyi$request_uri;";
     };
   };