From 2e74ca9b35a6408ee81974d8d1ec9df75cafd514 Mon Sep 17 00:00:00 2001 From: stuebinm Date: Mon, 30 Jan 2023 21:00:54 +0100 Subject: [PATCH] tracktrain: remove cors header this is almost certainly not needed anymore. i think. --- services/tracktrain.nix | 3 --- 1 file changed, 3 deletions(-) diff --git a/services/tracktrain.nix b/services/tracktrain.nix index 34ffa38..f706641 100644 --- a/services/tracktrain.nix +++ b/services/tracktrain.nix @@ -22,9 +22,6 @@ in locations."/" = { proxyPass = "http://192.168.42.41:4000"; proxyWebsockets = true; - extraConfig = '' - add_header 'Access-Control-Allow-Origin' '*' always; - ''; }; # note: this shadows the /metrics endpoint of tracktrain # in case you remove this, please consider putting something