allow CORS for icecast
This commit is contained in:
parent
2ac6f75745
commit
4d9883ee54
@ -53,6 +53,9 @@ in {
|
|||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
locations."/${cfg.mount}" = {
|
locations."/${cfg.mount}" = {
|
||||||
proxyPass = "http://localhost:${toString cfg.listen.port}/${cfg.mount}";
|
proxyPass = "http://localhost:${toString cfg.listen.port}/${cfg.mount}";
|
||||||
|
extraConfig = ''
|
||||||
|
add_header Access-Control-Allow-Origin *;
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user