From 8ab941349bb62adcceec583dc1e08d36bc696e93 Mon Sep 17 00:00:00 2001 From: Seth Flynn Date: Sat, 8 Feb 2025 21:43:53 -0500 Subject: atlas: don't use cloudflare tunnels --- systems/atlas/default.nix | 7 +++++-- systems/atlas/forgejo.nix | 3 --- systems/atlas/miniflux.nix | 3 --- 3 files changed, 5 insertions(+), 8 deletions(-) (limited to 'systems') diff --git a/systems/atlas/default.nix b/systems/atlas/default.nix index 78ffd78..a959a32 100644 --- a/systems/atlas/default.nix +++ b/systems/atlas/default.nix @@ -18,11 +18,14 @@ loader.efi.canTouchEfiVariables = true; }; - mixins.cloudflared.enable = true; - networking = { domain = "getchoo.com"; hostName = "atlas"; + + firewall.allowedTCPPorts = [ + 80 # HTTP + 443 # HTTPS + ]; }; nixpkgs.hostPlatform = "aarch64-linux"; diff --git a/systems/atlas/forgejo.nix b/systems/atlas/forgejo.nix index e60fafc..719ea7c 100644 --- a/systems/atlas/forgejo.nix +++ b/systems/atlas/forgejo.nix @@ -9,9 +9,6 @@ in services.nginx.virtualHosts = { "git.getchoo.com" = { - enableACME = false; - forceSSL = false; - locations."/" = { proxyPass = "http://unix:${forgejoCfg.settings.server.HTTP_ADDR}"; }; diff --git a/systems/atlas/miniflux.nix b/systems/atlas/miniflux.nix index 179e512..73725f3 100644 --- a/systems/atlas/miniflux.nix +++ b/systems/atlas/miniflux.nix @@ -19,9 +19,6 @@ nginx.virtualHosts = { "miniflux.getchoo.com" = { - enableACME = false; - forceSSL = false; - locations."/" = { proxyPass = "http://unix:${lib.head config.systemd.sockets.miniflux.listenStreams}"; }; -- cgit v1.2.3