Nginx and Nodejs How to use?

I see hello world!

I would like my domain name to be pointed to var/www/html so I can run

IPB software and Nodejs as back up as some of the apps in my IPB uses nodejs.

This reverse proxy setup is flexible enough to provide your users access to other applications or static web content that you want to share.

How do I switch between the two and were is my static web content folder? How do I point my domain so it loads the static web content from my folder? WIll this effect my nodejs apps which are needed from my web board IPB?

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

My questions were not clear and sorry for that. I run LEMP server and now Nodejs on it. I have eveything set up and see it say hello world!

Were in the proxy do I set up a static web content so I can run wordpress and run nodejs apps on side folders of nginx?

Hi @peopleandchat

You can follow this tutorial to setup Node.js with Nginx as proxy - or did I misunderstand your question?