Make nginx treat another extension as mp4

khav nginx-forum at
Tue Nov 8 13:13:01 UTC 2016

have converted an animated gif animated.gif to an mp4 animated.mp4.I then
rename animated.mp4 to animated.gifv. How can i tell nginx to treat .gifv
files as mp4.

location ~* \.(mp4|gifv)$ {
     mp4_buffer_size 4M;
     mp4_max_buffer_size 10M;

Posted at Nginx Forum:,270812,270812#msg-270812

More information about the nginx mailing list