diff options
| author | seth <[email protected]> | 2023-12-10 07:58:44 -0500 |
|---|---|---|
| committer | seth <[email protected]> | 2023-12-10 07:58:44 -0500 |
| commit | c99900f83de5f44797465845fe5ffb83efb286e0 (patch) | |
| tree | 122df1879fe8c8b03730ab6898c3b552fa9be7a6 /systems | |
| parent | e8a112be9a0bf067c8acb3a26cfd183c2f57c513 (diff) | |
atlas: disable acme
Diffstat (limited to 'systems')
| -rw-r--r-- | systems/atlas/nginx.nix | 19 |
1 files changed, 2 insertions, 17 deletions
diff --git a/systems/atlas/nginx.nix b/systems/atlas/nginx.nix index 626b4b3..dc40282 100644 --- a/systems/atlas/nginx.nix +++ b/systems/atlas/nginx.nix @@ -1,8 +1,4 @@ -{ - config, - lib, - ... -}: let +{config, ...}: let inherit (config.networking) domain; mkProxy = endpoint: port: { @@ -11,17 +7,6 @@ proxyWebsockets = true; }; }; - - mkVHosts = let - commonSettings = { - enableACME = true; - # workaround for https://github.com/NixOS/nixpkgs/issues/210807 - acmeRoot = null; - - addSSL = true; - }; - in - lib.mapAttrs (_: lib.recursiveUpdate commonSettings); in { server.services.cloudflared.enable = true; @@ -34,7 +19,7 @@ in { recommendedProxySettings = true; recommendedTlsSettings = true; - virtualHosts = mkVHosts { + virtualHosts = { "cache.${domain}" = { locations = mkProxy "/" "5000"; }; |
