We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
How to switch from Nginx+PHP-FPM to Apache+Nginx ?
How to switch from Nginx+PHP-FPM to Apache+Nginx ?
Hi,
Is it possible to switch from Nginx+PHP-FPM to Apache+Nginx without interrupt for a long time the uptime of the hosted websites ?
If yes, how ?
I'm running debian Jessie 9.5
Thanks :)
Is it possible to switch from Nginx+PHP-FPM to Apache+Nginx without interrupt for a long time the uptime of the hosted websites ?
If yes, how ?
I'm running debian Jessie 9.5
Thanks :)
Re: How to switch from Nginx+PHP-FPM to Apache+Nginx ?
so is it possible?
I am on ubuntu 18
I am on ubuntu 18
-
- Posts: 38
- Joined: Tue Aug 16, 2016 4:58 pm
Re: How to switch from Nginx+PHP-FPM to Apache+Nginx ?
This post is dated, however if your running on the following instances.
Virtual Machine
Dedicated Machine (Physical)
Have a new / separate instance of ubuntu version which vestacp supports. 16.04, 18.04, etc.
Install as a local machine on the same network.
After installation of new instance, login to your current live vesta server and add the following domain on the (primary) Vesta server.
after adding domain login to server via SSH.
Code: Select all
cd /home/admin/conf/web/
Code: Select all
sudo ls
Code: Select all
sudo nano exampledomain.com.apache2.conf
Code: Select all
sudo nano exampledomain.com.apache2.ssl.conf
Code: Select all
sudo nano exampledomain.com.nginx.conf
Code: Select all
proxy_pass http://XXX.XXX.XX.X:8080;
Code: Select all
sudo nano exampledomain.com.nginx.ssl.conf
Code: Select all
proxy_pass https://XXX.XXX.XX.X:8443;
save file after modification,
Code: Select all
cd /
Code: Select all
sudo service apache2 restart && sudo service nginx restart
No reason to just re-install the machine if you have other websites on that server.
if you do not see
Code: Select all
sudo nano exampledomain.com.apache2.ssl.conf
Code: Select all
sudo nano exampledomain.com.nginx.ssl.conf