Welcome! Log In Create A New Profile

Advanced

Re: json files download

Valentin V. Bartenev
June 21, 2012 10:02AM
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?

http://nginx.org/r/types

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

wbr, Valentin V. Bartenev

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

json files download

umar June 21, 2012 09:51AM

Re: json files download

Reinis Rozitis June 21, 2012 10:02AM

Re: json files download

umar June 21, 2012 10:17AM

Re: json files download

Valentin V. Bartenev June 21, 2012 10:02AM

Re: json files download

bach November 19, 2012 09:54PM

Re: json files download

Justin Dorfman November 19, 2012 10:32PM

Re: json files download

bach November 19, 2012 10:48PM

Re: json files download

Justin Dorfman November 19, 2012 11:10PM

Re: json files download

bach November 19, 2012 11:16PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 139
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready