From 8cccad1a79d503b2fefaf4475bf4da79e4fdbb35 Mon Sep 17 00:00:00 2001 From: Kyren223 Date: Tue, 1 Jul 2025 19:01:15 +0300 Subject: [PATCH] Trying to fix origin not allowed issue for grafana --- nixosModules/grafana.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixosModules/grafana.nix b/nixosModules/grafana.nix index 2925e0b..8f7a76b 100644 --- a/nixosModules/grafana.nix +++ b/nixosModules/grafana.nix @@ -19,6 +19,7 @@ useACMEHost = "kyren.codes"; forceSSL = true; locations."/".proxyPass = "http://localhost:3030/"; + locations."/".extraConfig = "proxy_set_header Host $http_host;"; }; sops.secrets.gitea-db-password = {