0

I'm currently running into a problem where I'm hosting multiple websites in docker containers and using the NGINX image in those containers to server the content. An example setup of that would look the following

Website-main -> The main website built with Vue.js and served with NGINX in the container

Website-api -> The API of our website running in a container with Express.js

Website-blog -> Our Blog built with Vue.js and served with NGINX in the container

Now, for them to all be accessible through my Domain, I would need to host all of these on either port 80 or 443.

Now my question about this is, would it be beneficial for me to be running NGINX on my host system or as a standalone container to route/proxy pass port 443 traffic to the specified containers and possibly implement HTTPS. And will there be any overhead in the form of latency or resource usage.

Or if there are any alternatives to solving this issue in a better way.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.