Hello everyone! I recently had a commission to set up a web server structure for a company. We have a main domain that we have in CloudFlare for cache, ssl, rules, etc. We have this pointing to the public IP address. We have several subdomains, web (machine with PLESK), storage (nextCloud), internal application, financial application … In the router, we have the ports open to v-machine 01, which only has NGINX to launch requests to the different v-servers.
We have a single physical server with different virtual machines. Virtual machine for NGINX (machine 01) Virtual machine for web application Virtual machine for the internal application Virtual machine for financial application …
Is this approach correct? How should I protect both the NGINX machine and the servers behind it? Should I configure ssl certificates on all machines or with what cloudflare offers (ssl on all connections) would that be enough?
Sorry to be such a newbie but I hope you give me a hand!
Before I had all the applications on a single machine, without differentiating anything, but I had performance problems and that I cannot put port 80 for more than one subdomain … With NGINX I think that this is solved together with dividing the virtual machines into several virtual machines applications that I have to open.
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!
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.
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.
Click below to sign up and get $200 of credit to try our products over 60 days!