lystormenvoy opened this issue 3 years ago · 0 comments
代码里这一块配置导致了我们需要在nginx里另外配置规则时,浏览器因为重复规则等产生cors报错。
location /flv { include conf.d/options.conf; access_log logs/live_flv_access_$logDate.log; flv_live 1935 app=hls; chunked_transfer_encoding off; add_header 'Access-Control-Allow-Origin' '*'; add_header 'Access-Control-Allow-Credentials' 'true'; }