HEAD with mp4 runs in timeout

Aleksandar Lazic al-nginx at none.at
Mon Jul 21 09:20:39 UTC 2014


When I make a GET request I get the file as expected, but the HEAD 
Request runs in a time out.

curl -v 'http://vhost/cams/44/zoom.mp4?_=1405930346082' -X HEAD

I use the following version.

/home/nginx/server/sbin/nginx -V
nginx version: nginx/1.7.3
built by gcc 4.4.3 (Ubuntu 4.4.3-4ubuntu5.1)
TLS SNI support enabled
configure arguments: --prefix=/home/nginx/server --with-debug 
--without-http_uwsgi_module --without-http_scgi_module 
--without-http_empty_gif_module --with-http_stub_status_module 
--with-http_gzip_static_module --with-http_ssl_module --user=nginx 
--group=www-data --with-file-aio --without-http_ssi_module 
--with-http_secure_link_module --with-http_sub_module 
--with-http_spdy_module --with-http_mp4_module


lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 10.04.4 LTS
Release:	10.04
Codename:	lucid

Error log

The config part.

         location ~ \.mp4$ {

Could it be that the file is not 'HEAD' conform?

Thanks for help.

BR Aleks

More information about the nginx mailing list