Added by fermartz7 almost 6 years ago
Hello everyone!
I'm new to Lighttpd and I have been reading the forums but I haven't found any example running php and nodejs. I'll appreciate any directions. Thanks in advance!
One way is to run nodejs on a different port on localhost and to use lighttpd mod_proxy to send certain requests to the nodejs backend. PHP can be handled by mod_fastcgi or mod_cgi.
@gstrauss Thanks for the quick reply. PHP is already installed and configured by a previous developer that worked on this project. I'll take a look at the documentation you mentioned and I'm guessing I just need to create a new folder and install nodejs there. Then proceed to configure the reverse proxy...am I on the correct path?