Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

Convert Apache install to Nginx

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
3 posts • Page 1 of 1
arharp
Posts: 5
Joined: Fri May 27, 2016 5:29 pm

Convert Apache install to Nginx
  • Quote

Post by arharp » Fri May 27, 2016 5:33 pm

Is it possible to convert my Apache + Nginx install to Nginx + PHP5-FPM? I know I could create backups of all my users, install VestaCP from scratch, and then import all the backup files. But I'm hoping to not have to do that.
Top

mehargags
Support team
Posts: 1096
Joined: Sat Sep 06, 2014 9:58 pm
Contact:
Contact mehargags
Website Skype

Os: Debian 8x
Web: apache + nginx
Re: Convert Apache install to Nginx
  • Quote

Post by mehargags » Sat May 28, 2016 2:12 am

Interesting question there...

I don't think the Backups will work out of the box without any additional Configuration. You may have your DBs and Site files restored but I'm not sure if the configuration of server blocks will be auto-configured.

So be warned. If I were you, I'd make a fresh new server with Nginx+PHP-FPM and try the restore safely without affecting my production server.

Let's see what others have to say... if anyone ever did that before.
Top

skamasle
Collaborator
Posts: 592
Joined: Mon Feb 29, 2016 6:36 pm

Re: Convert Apache install to Nginx
  • Quote

Post by skamasle » Sat May 28, 2016 9:31 am

Backups maybe work, so if you restore vestacp backup it will restore apache configuration and nginx, then you only need rebuild vhosts and it do the work.

In all cases is easyest enable just php-fpm templates in vesta, in this case you can use nginx +php-fpm in some sites and in orther sites if you whant apache + nginx as proxy and of course you can use nginx+ php-fpm in all sites.

This is posible also.
Top


Post Reply
  • Print view

3 posts • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

cron

Login  •  Register

I forgot my password