diff options
author | sefidel <contact@sefidel.net> | 2023-02-07 01:45:07 +0900 |
---|---|---|
committer | sefidel <contact@sefidel.net> | 2023-02-07 01:45:07 +0900 |
commit | 20db890c482c138d61f29631980e83f25190a45d (patch) | |
tree | 149d25b7330422cc49a2f40d535ad40ba39668e6 /nixos/cobalt/services | |
parent | 261475ed2bb95d10ba90ebb3d5202ba6af7811ae (diff) | |
download | nixrc-20db890c482c138d61f29631980e83f25190a45d.tar.gz nixrc-20db890c482c138d61f29631980e83f25190a45d.zip |
feat(nixos/cobalt): force SSL on all services
Diffstat (limited to 'nixos/cobalt/services')
-rw-r--r-- | nixos/cobalt/services/cgit.nix | 2 | ||||
-rw-r--r-- | nixos/cobalt/services/dendrite.nix | 2 |
2 files changed, 2 insertions, 2 deletions
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" = { |