How to access our node app from nginx website?

Hello! i am new to digitalocean here…i deployed my static website using nginx and when i try to access my droplet ip-address i access my static website. Now on the other hand i also deployed my MEAN app in a same droplet as well…when i run my MEAN application from console the my application is running on “<droplet-ip-address>:port”. Now my question is that i want to configure my MEAN application in a way that when i try to access “<droplet-ip-address>:port/meanapp” then i want to navigation from my static website to MEAN application.

How to configure this scenario…Thanks


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

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.


What you could do is set up Nginx as a reverse proxy for your Node.js application. You can follow the steps here:

Hope that this helps! Let me know if you have any questions. Regards, Bobby