By bitmonxtech
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
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!
Hello,
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
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.