On 05/02/16 03:16, Matus UHLAR - fantomas wrote:
>> Perl kludge suggested on nginx site for runnig CGI scripts as
>> FastCGI much worse than time-honoured apache.
>
> but what's the point of proxying it from apache? Apache can run cgi
> (and fastcgi, even php as module, not as fastcgi, so php should be
> even faster under apache) too, you don't need nginx.  
>
> if you want nginx, what's the point of apache proxying?

A couple of more points, apache with libapache2-mod-php requires the
slower pre-forking version of apache and because that module is always
loaded for every access it makes sense to use the much faster and
lighter nginx frontend to deliver static files and then proxy to apache
just for php. Also, a lot of web apps expect, or are easier, to use a
.htaccess file which nginx does not handle.

As for running webadmin, and perhaps sqwebmail, the simplest solution
is to use a dedicated instance of lighthttpd on another port (assuming
nginx is already in use on 80/443).

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to