Tuesday 9 January 2018

I'm hosting a private instance of the Cloud9 IDE, so how do I serve it through Nginx?

Right now it's being served just through Node. I know I need to set up a file in /etc/nginx/sites-available/ and I know the basic nginx /sites-available file setup. Specifically, I don't know what the documentRoot is or what the index file is (the entry point to the server. I know there is an index.html, but is it the entry point to the node app as defined in the nginx config file?). i'm not sure what either of those are in this case.I also don't know about any other configuration issues I may come across beyond the basic nginx configurations i've used for php sites and static sites.

Submitted January 09, 2018 at 06:49PM by dmfreelance

No comments:

Post a Comment