From 20db890c482c138d61f29631980e83f25190a45d Mon Sep 17 00:00:00 2001 From: sefidel Date: Tue, 7 Feb 2023 01:45:07 +0900 Subject: feat(nixos/cobalt): force SSL on all services --- nixos/cobalt/services/cgit.nix | 2 +- nixos/cobalt/services/dendrite.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'nixos/cobalt') diff --git a/nixos/cobalt/services/cgit.nix b/nixos/cobalt/services/cgit.nix index 4e030c8..c0cd948 100644 --- a/nixos/cobalt/services/cgit.nix +++ b/nixos/cobalt/services/cgit.nix @@ -25,7 +25,7 @@ users.extraUsers.nginx.extraGroups = [ "git" ]; services.nginx.virtualHosts."git.sefidel.com" = { - addSSL = true; + forceSSL = true; useACMEHost = "sefidel.com"; root = "${pkgs.cgit-pink}/cgit"; locations = { diff --git a/nixos/cobalt/services/dendrite.nix b/nixos/cobalt/services/dendrite.nix index a5ef98e..af1af32 100644 --- a/nixos/cobalt/services/dendrite.nix +++ b/nixos/cobalt/services/dendrite.nix @@ -134,7 +134,7 @@ in }; in { - addSSL = true; + forceSSL = true; useACMEHost = "sefidel.com"; locations = { "/.well-known/matrix/server" = { -- cgit 1.4.1