Hi! Is it possible to disable Apache usage on an already running server with Apache+NGINX bundle just for one domain?
If I understand correctly, I can do it by reconfiguring the configs, but I’m afraid of making mistakes. And I’m not sure at all that it will work on standard ports, but I’d like to at least test the initial download speed for comparison, I think it can be tested on non-standard ports.
We don’t support it out of the box.
In theorie you are able to use templates in /usr/local/hestia/data/templates/web/nginx/php-fpm/ by moving them to /usr/local/hestia/data/templates/web/nginx/ and then updating web_port and web_ssl_port to proxy_port and proxy_ssl_port .
Yes, of course it is possible, in fact that is how I have it and I use it interchangeably for each of my websites, I did it like this: I created a template for Apache2 called NoApache2 (both, that is, with a tpl and stpl extension) in the directory “/usr/local/hestia/data/templates/web/apache2/php-fpm”, then I copied the templates from the directory “/usr/local/hestia/data/templates/web/nginx/php-fpm” that I am interested in for the directory “/usr/local/hestia/data/templates/web/nginx” and as the user “Eris” explains, you must change the variables in the copied templates… Then when you create the domain from the panel, replace the server template (apache2) select the one you created before (NoApache2) and in the proxy template select one of the ones you copied and modified before and wow the magic was done…
hello! Thanks for your answer. But I do not quite understand why to make a separate NoApache template? What does it contain if all the proxying happens inside the nginx template?
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.