repositioned cors header
parent
cdaad1a973
commit
6b50ef9de5
|
@ -19,7 +19,7 @@ in {
|
|||
'';
|
||||
};
|
||||
"/hls" = {
|
||||
add_header 'Access-Control-Allow-Origin' '*';
|
||||
|
||||
proxyPass = "${host-server}$request_uri";
|
||||
extraConfig = ''
|
||||
types {
|
||||
|
@ -30,6 +30,7 @@ in {
|
|||
proxy_ignore_headers Cache-Control;
|
||||
proxy_cache_valid any 30m;
|
||||
auth_basic off;
|
||||
add_header 'Access-Control-Allow-Origin' '*';
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue