I did it, and it was really easy as the config file remained after I uninstalled nginx.
So after the reinstalation is was instantly ok.
The issue is ... it seems it didn't help.
After a long search, I understood that Files & Uploads documents are stored within the Mongo database, not as pure files.
I put a .mp4 file in the pure static files, and it runs without any issue ... I don't even have to add the mp4 instructions inside the nginx files.
So :
1) I don't know if updating nginx was useful or not.
2) Pure static .mp4 files work fine.
3) Files & Uploads .mp4 files do not work fine, it may come from the fact that they are hosted in MongoDB and served through a python query and that query is not made to serve specific chunks of the file on demand.
My issue is that I want easy upload of video for users (the Files & Uploads is perfect), uploading .mp4 files in another server would be more complex.
I'll see if I can do something else.
Thanks anyway!
Marceau C.
For those who could be interested :
sudo apt-get remove nginx
sudo apt-get install build-essential zlib1g-dev libpcre3-dev libssl-dev
libxslt1-dev libxml2-dev libgd2-xpm-dev libgeoip-dev
libgoogle-perftools-dev libperl-dev
wget http://nginx.org/download/nginx-1.6.0.tar.gz
tar xvfvz nginx-1.6.0.tar.gz
cd nginx-1.6.0
./configure --prefix=/usr/local/nginx
--sbin-path=/usr/local/sbin/nginx --conf-path=/etc/nginx/nginx.conf
--error-log-path=/var/log/nginx/error.log
--http-log-path=/var/log/nginx/access.log --pid-path=/run/nginx.pid
--lock-path=/run/lock/subsys/nginx --user=nginx --group=nginx
--with-file-aio --with-ipv6 --with-http_ssl_module
--with-http_spdy_module --with-http_realip_module
--with-http_addition_module --with-http_xslt_module
--with-http_image_filter_module --with-http_geoip_module
--with-http_sub_module --with-http_dav_module --with-http_flv_module
--with-http_mp4_module --with-http_gunzip_module
--with-http_gzip_static_module --with-http_random_index_module
--with-http_secure_link_module --with-http_degradation_module
--with-http_stub_status_module --with-http_perl_module --with-mail
--with-mail_ssl_module --with-pcre --with-google_perftools_module
--with-debug
make
sudo make install