Do I make the correct difference between spwan-cgi and mod_fcgi
- by Saif Bechan
First of all im configuring an webserver with nginx and apache2 working together. Having only nginx is no options for me, neither is lighttdp.
I am reading a tutorial 'Nginx -Apache -Proxy configuration on Centos-Plesk server' where this is exaplained in some detail.
One thing i don't really understand. They are talking about installing spawn-fcgi to spawn the fastcgi process.
Now if i understand this correct this program is only for nginx apache will run as normal.
Apache will just run the mod_php5.c. If i want to have apache also work as fastcgi i have to confirgure that seperately, and let apache use mod_fcgi.
Do I have this correct or am I talking utter nonsense.
Nginx usses spawn-cgi as frontend
Apache usses mod_fcgi in the back
Inbetween there is a proxy that ports port 80(nginx) to port 8080(apache)