Node.js

Serving Node.js on Apache

Ghost runs with Node.js but I can't dedicate my port 80 to it completely. I run Apache to serve a number of other HTTP requests as well, so the best solution is to run Node.js on a different port and forward HTTP 80 from Apache to it. A simple directive modification will be sufficient. Open your sites configuration file and insert the following proxy directives: DocumentRoot /home/www/ ServerName koray.me ServerAlias koray.me ... ProxyRequests off Order deny,allow Allow from all ProxyPass http://localhost:3000/ ProxyPassReverse http:…

Keep reading