json files download

Valentin V. Bartenev ne at vbart.ru
Thu Jun 21 14:00:40 UTC 2012

On Thursday 21 June 2012 17:51:10 umar wrote:
> Hi,
> I have moved from apache to NGINX+PHP-FPM, now there some problem with
> .json file, In apache whenver I access .json file the output shows on
> browser page. But in NGINX its try to download.
> Would you please help me who to solve this issue?


You should set "application/json" for .json files.

 wbr, Valentin V. Bartenev

More information about the nginx mailing list