Answer the question
In order to leave comments, you need to log in
Does it make sense to install nginx+apache inside openvz?
I have a server on vds (2 cores, 1GB RAM, 30GB disk), I want to put a web server on it for a blogger on wp. But since other important services will hang there, I decided to put apache in a safe container, so that in case of a hole in wp, its plugins or anywhere else, the impact on the server would be minimal, and also to limit the devouring of the resources of the server itself. I chose OpenVZ as a container, because it is considered fast enough. Nginx in this bundle will be located on the main server and have the role of a proxy, redirecting traffic to apach inside the virtual machine, it may still give static.
How deliberate is this decision and what can be changed?
Answer the question
In order to leave comments, you need to log in
Option 1 - nginx + apache2 + FastCGI (each site under a separate user)
Option 2 - nginx + php-fpm (each site under a separate user)
In terms of security, it's redundant to install OpenVZ, kmk.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question