diff options
Diffstat (limited to 'systems/atlas')
| -rw-r--r-- | systems/atlas/default.nix | 4 | ||||
| -rw-r--r-- | systems/atlas/forgejo.nix | 3 | ||||
| -rw-r--r-- | systems/atlas/miniflux.nix | 13 |
3 files changed, 14 insertions, 6 deletions
diff --git a/systems/atlas/default.nix b/systems/atlas/default.nix index a2abce8..f1d0f55 100644 --- a/systems/atlas/default.nix +++ b/systems/atlas/default.nix @@ -25,5 +25,9 @@ nixpkgs.hostPlatform = "aarch64-linux"; + services = { + nginx.enable = true; + }; + system.stateVersion = "23.05"; } diff --git a/systems/atlas/forgejo.nix b/systems/atlas/forgejo.nix index 719ea7c..e60fafc 100644 --- a/systems/atlas/forgejo.nix +++ b/systems/atlas/forgejo.nix @@ -9,6 +9,9 @@ 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 6d3f8ca..179e512 100644 --- a/systems/atlas/miniflux.nix +++ b/systems/atlas/miniflux.nix @@ -17,12 +17,13 @@ }; }; - nginx = { - virtualHosts = { - "miniflux.getchoo.com" = { - locations."/" = { - proxyPass = "http://unix:${lib.head config.systemd.sockets.miniflux.listenStreams}"; - }; + nginx.virtualHosts = { + "miniflux.getchoo.com" = { + enableACME = false; + forceSSL = false; + + locations."/" = { + proxyPass = "http://unix:${lib.head config.systemd.sockets.miniflux.listenStreams}"; }; }; }; |
