From c1279c5d4be0afc0aa162f38c6681566e84040fb Mon Sep 17 00:00:00 2001 From: Kyren223 Date: Tue, 31 Dec 2024 16:30:51 +0200 Subject: [PATCH] Styled indents and removed proxy propagation for actual-budget bcz it doesn't really matter --- nixosModules/actual-budget.nix | 11 +++-------- nixosModules/gitea.nix | 6 +++--- 2 files changed, 6 insertions(+), 11 deletions(-) diff --git a/nixosModules/actual-budget.nix b/nixosModules/actual-budget.nix index 10b1796..e187460 100644 --- a/nixosModules/actual-budget.nix +++ b/nixosModules/actual-budget.nix @@ -20,14 +20,9 @@ acme.enable = true; services.nginx.virtualHosts."budget.kyren.codes" = { - useACMEHost = "kyren.codes"; - forceSSL = true; - - locations."/".proxyPass = "http://localhost:5006/"; - locations."/".extraConfig = '' - proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - proxy_set_header Host $host; - ''; + useACMEHost = "kyren.codes"; + forceSSL = true; + locations."/".proxyPass = "http://localhost:5006/"; }; }; } diff --git a/nixosModules/gitea.nix b/nixosModules/gitea.nix index d77e568..3cd1e5d 100644 --- a/nixosModules/gitea.nix +++ b/nixosModules/gitea.nix @@ -16,9 +16,9 @@ acme.enable = true; services.nginx.virtualHosts."git.kyren.codes" = { - useACMEHost = "kyren.codes"; - forceSSL = true; - locations."/".proxyPass = "http://localhost:3001/"; + useACMEHost = "kyren.codes"; + forceSSL = true; + locations."/".proxyPass = "http://localhost:3001/"; }; # Configure database