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