download and movie alias

Silvio Siefke siefke_listen at
Fri Jan 9 23:11:20 UTC 2015


i use static directory for my css files, video files and download 
directory. I understand not why the link
not work but works. Has someone an idea 
what is wrong?

 # video files for all websites
 location ~ ^/video/(.*)$ {
        alias /var/www/static/video/$1;
        mp4_buffer_size 4M;
        mp4_max_buffer_size 10M;
        autoindex on;

 # download directory for all websites
 location ~ ^/downloads/(.*)$ {
        alias /var/www/static/downloads/$1;
        autoindex on;

Thank you for help & Nice day


More information about the nginx mailing list