Welcome! Log In Create A New Profile

Advanced

Re: try_recent_files?

Ryan Malayter
December 19, 2009 10:30PM
On Friday, December 18, 2009, Yuval Hager <yhager@yhager.com> wrote:
> Will this approach work for fcgi too? I am trying to stay apache-free. Also
> the app (Drupal-5 hacked) does not support reverse proxy without careful
> patching.

I think proxy_cache works for fastcgi as well, but I am not positive.
We proxy via http to JBoss/Tomcat backend servers in our environment.

If your app doesn't support reverse proxy, it is probably broken for
many people on the Internet, as it likely is broken in forward proxies
too. Doing some assumptions in redirects or imprperly assuming various
environmentals or the use of mod_php (such as http versus https, or
using hostnames copied from the Host header instead of relative URLs.)
A lot lof our in-house stuff had similar problems when we first
switched to a layer-7 load balancer, and cleanup was a pain. But the
apps are a lot
more portable and flexible as a result.

Fix Drupal maybe? It is open source ;-)

>
> Is there any performance comparison for nginx with fcgi/php vs apache/mod-
> php?
> My reasoning was that since I don't need a full blown web server in the
> back, it better just be a php processor, so I went the fcgi route. f means
> fast, doesn't it?

I think it likely depends more on the perfoance of you fastcgi wrapper
for PHP than the web server. That's where the bottleneck is usually.


--
RPM

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

try_recent_files?

Yuval Hager December 18, 2009 07:34AM

Re: try_recent_files?

Ryan Malayter December 18, 2009 09:34AM

Re: try_recent_files?

Yuval Hager December 18, 2009 07:32PM

Re: try_recent_files?

Ryan Malayter December 19, 2009 10:30PM

Re: try_recent_files?

mike December 19, 2009 10:38PM

Re: try_recent_files?

Yuval Hager December 20, 2009 02:48AM

Re: try_recent_files?

Marcus Clyne December 20, 2009 04:30AM

Re: try_recent_files?

Yuval Hager December 20, 2009 08:36AM

Re: try_recent_files?

Ryan Malayter December 24, 2009 01:04AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 97
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready