Welcome! Log In Create A New Profile

Advanced

Re: Proxy cache for php site

António P. P. Almeida
October 15, 2011 10:56PM
On 16 Out 2011 02h16 WEST, jmbennett@gmail.com wrote:

> Hi Appa,
>
>> Your config has a lot of cruft, meaning a lot of bad Yoda stuff.
>
> No doubt, any tips on cleaning up appreciated :)
>
>> But the main issue is that you're proxying to fastcgi not to
>> another HTTP server, hence the cache to be used is fastcgi cache,
>> not proxy cache.
>>
>> http://wiki.nginx.org/HttpFcgiModule#fastcgi_cache
>>
>> Which apart from a few options has basically the same directives
>> with proxy replaced by fastcgi.
>
> Ok, from scanning the docs, this seems about right, but nothing is
> being written to the cache dir, this is where I've got to:
> http://pastie.org/2703119

Try this: https://gist.github.com/1290446

--- appa

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

Proxy cache for php site

Jon Bennett October 15, 2011 07:42PM

Re: Proxy cache for php site

António P. P. Almeida October 15, 2011 08:52PM

Re: Proxy cache for php site

Jon Bennett October 15, 2011 09:18PM

Re: Proxy cache for php site

António P. P. Almeida October 15, 2011 10:56PM

Re: Proxy cache for php site

Jon Bennett October 16, 2011 08:26AM

Re: Proxy cache for php site

Jon Bennett October 16, 2011 07:04PM

Re: Proxy cache for php site

lpugoy November 08, 2011 07:55AM

Re: Proxy cache for php site

Francis Daly November 08, 2011 04:30PM

Re: Proxy cache for php site

Maxim Dounin November 08, 2011 04:32PM

Re: Proxy cache for php site

lpugoy November 09, 2011 06:02AM

Re: Proxy cache for php site

lpugoy November 09, 2011 08:18AM

Re: Proxy cache for php site

lpugoy November 10, 2011 02:50AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 100
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready