Hi,
I have run into a bit of an issue with the easyengine common/locations.conf.
location ~* \.(ogg|ogv|svg|svgz|eot|otf|woff|mp4|ttf|css|rss|atom|js|jpg|jpeg|gif|png|ico|tgz|gz|rar|bz2|doc|xls|exe|ppt|zip|tar|mid|midi|wav|bmp|rtf)$ { access_log off; log_not_found off; expires max; }
If I try to serve downloads from a specific location conf below in the vhost conf for example:
location /downloads/ {
root /var/www/downloads/;
}
The only way the ‘download.zip’ works is if I remove the zip extension from the common locations directive.
Is there any way to retain the zip extension and yet serve the file from a specific directory like /var/www/downloads, which is a location outside the defined root for the specific domain.
Thanks