1. Download nginx-1.5.10 for Windows 2. Modify the configuration file nginx-1.5.10\conf\nginx.conf to add the following line to the previous row of the Last "}": Location/hls {# Serve HLS fragments types {application/ Vnd.apple.mpegurl m3u8; VIDEO/MP2T ts; } root/temp; Add_header Cache-control No-cache; Also, create a new subdirectory: Nginx-1.5.10\html\hls, and copy the generated m3u8 and sliced TS files or directories into the HLS directory 3. Modify the configuration file Nginx-1.5.10\conf\mime.types, add the following three lines: Application/zip zip; Add 2 lines after this line: Application/x-mpegurl m3u8; Application/vnd.apple.mpegurl m3u8; In Video/x-msvideo avi; line, add 1 lines: VIDEO/MP2T ts; 4. Open the task to manage it, kill Ngnix.exe, restart Ngnix.exe 5. Open VLC Player, "open network Stream" menu, input url:http://192.168.1.100/hls/playlist.m3u8 can test play, on your ipad, can also play, simple!!
Windows Next minute configuration Ngnix implement HLS m3u8 on demand