Force ppt(x) and pps(x) to be downloaded instead of being served as plain text
Maxim Dounin
mdounin at mdounin.ru
Fri Dec 6 12:10:37 UTC 2013
Hello!
On Fri, Dec 06, 2013 at 12:12:49PM +0100, Sokolov Evgeniy wrote:
> For ppt files it must work, check your mime.types nginx config:
>
> ./mime.types: application/vnd.ms-powerpoint ppt;
>
> For another formats you must add something similar
The mime.types in 1.5.7 contains pptx as well, see here:
http://hg.nginx.org/nginx/file/tip/conf/mime.types#l67
Most likely, the mime.types file is not included into
configuration.
--
Maxim Dounin
http://nginx.org/en/donation.html
More information about the nginx
mailing list