diff options
author | Vincent Ambo <mail@tazj.in> | 2021-02-10T17·54+0200 |
---|---|---|
committer | tazjin <mail@tazj.in> | 2021-02-10T17·56+0000 |
commit | 3a45e029af57fffcda75a5be77159345a66da412 (patch) | |
tree | f3aa98434aaccd0cc51fa5175b2a874c3cde2db5 /ops/nixos/www/tazj.in.nix | |
parent | 8d7c24d3db5ee743c6a9d40b3f53929f8723e0e7 (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/nixos/www/tazj.in.nix')
-rw-r--r-- | ops/nixos/www/tazj.in.nix | 1 |
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;"; }; }; |