diff --git a/common/server/icecast.nix b/common/server/icecast.nix index 0921877..a324142 100644 --- a/common/server/icecast.nix +++ b/common/server/icecast.nix @@ -53,6 +53,9 @@ in { forceSSL = true; locations."/${cfg.mount}" = { proxyPass = "http://localhost:${toString cfg.listen.port}/${cfg.mount}"; + extraConfig = '' + add_header Access-Control-Allow-Origin *; + ''; }; }; };