Hello, I have the following config in the http:
include mime.types; default_type application/octet-stream; also i have this in the location: types { application/vnd.apple.mpegurl m3u8; video/mp2t ts; } But when i send a request, i am getting these headers: Request URL: https://example.com/hls/5d134afe91b970.80939375/1024_576_1500_5d134afe91b970.80939375_00169.ts 1. Accept-Ranges: bytes 2. Access-Control-Allow-Credentials: true 3. Access-Control-Allow-Headers: DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Origin,X-Auth-Token,Authorization,Accept,Client-Security-Token 4. Access-Control-Allow-Methods: OPTIONS, GET 5. Access-Control-Allow-Origin: * 6. Cache-Control: max-age=31536000 7. Connection: keep-alive 8. Content-Length: 259440 9. Content-Type: application/octet-stream 10. Date: Sat, 29 Jun 2019 22:43:57 GMT 11. ETag: "d1a1739b4444da72c0e25251e4669b45" 12. Last-Modified: Wed, 26 Jun 2019 18:08:17 GMT 13. Server: nginx/1.17.0 14. Request URL: https://example.com/hls/5d134afe91b970.80939375/playlist.m3u8 1. Accept-Ranges: bytes 2. Access-Control-Allow-Credentials: true 3. Access-Control-Allow-Headers: DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Origin,X-Auth-Token,Authorization,Accept,Client-Security-Token 4. Access-Control-Allow-Methods: OPTIONS, GET 5. Access-Control-Allow-Origin: * 6. Cache-Control: max-age=31536000 7. Connection: keep-alive 8. Content-Length: 601 9. Content-Type: application/octet-stream 10. Date: Sat, 29 Jun 2019 22:37:57 GMT 11. ETag: "7ba4b759c57dbffbca650ce6a290f524" 12. Last-Modified: Wed, 26 Jun 2019 10:57:04 GMT 13. Server: nginx/1.17.0 For some reason, Nginx doesn't change the Content-Type Thanks Andrew
_______________________________________________ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx