Thanks for your answer, I use proxy_pass to hide real url for m3u8 file from onother server, proxy working but I need to change string in that file.
For example if I open on browser url http://127.0.0.1:8080/test I get over proxy_pass
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:BANDWIDTH=1000000
chunklist_w000000_x1000000.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=2500000
chunklist_w000000_x2500000.m3u8
So I need to change for example "#EXTM3U" to be :
newstring
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:BANDWIDTH=1000000
chunklist_w000000_x1000000.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=2500000
chunklist_w000000_x2500000.m3u8
I hope now is clear !
For example if I open on browser url http://127.0.0.1:8080/test I get over proxy_pass
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:BANDWIDTH=1000000
chunklist_w000000_x1000000.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=2500000
chunklist_w000000_x2500000.m3u8
So I need to change for example "#EXTM3U" to be :
newstring
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:BANDWIDTH=1000000
chunklist_w000000_x1000000.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=2500000
chunklist_w000000_x2500000.m3u8
I hope now is clear !