#1  
Old 20th February 2013, 16:34
almere almere is offline
ISPConfig Developer
 
Join Date: Nov 2012
Location: Netherlands, Rotterdam
Posts: 231
Thanks: 20
Thanked 39 Times in 34 Posts
Send a message via Skype™ to almere
Exclamation Apache to NGINX

Hi there!

I'm currently using apache2 as a webserver (Debian). I want to change it to nginx. I followed this tutorial http://www.howtoforge.com/nginx-catc...n-debian-lenny but it doesn't works, how i need, all subdomains with flag L redirect, does not load css, js and images files. I can not figure it out (if some on can help it, please!).

I decided to change the web server to nginx. Can i just change ISPConfig configuration (webserver from apache to nginx) and than run resync tool, will it create all hosts for nginx? Or how can i do it another way?

Please, help!


Thank you
Reply With Quote
Sponsored Links
  #2  
Old 21st February 2013, 16:36
almere almere is offline
ISPConfig Developer
 
Join Date: Nov 2012
Location: Netherlands, Rotterdam
Posts: 231
Thanks: 20
Thanked 39 Times in 34 Posts
Send a message via Skype™ to almere
Default

Someone? Please!
Reply With Quote
  #3  
Old 21st February 2013, 17:17
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,381
Thanks: 833
Thanked 5,482 Times in 4,316 Posts
Default

The configuration of apache and nginx is very different, so you can not switch from apache to nginx or vice versa on a installed system by just installing a nginx package. You will have to reinstall the server if you want to use nginx.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
almere (22nd February 2013)
  #4  
Old 21st February 2013, 17:19
almere almere is offline
ISPConfig Developer
 
Join Date: Nov 2012
Location: Netherlands, Rotterdam
Posts: 231
Thanks: 20
Thanked 39 Times in 34 Posts
Send a message via Skype™ to almere
Default

Reinstall the server (you mean OS) or just install nginx and reinstall ispconfig?
Reply With Quote
  #5  
Old 22nd February 2013, 13:37
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
Default

Reinstall the server.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
The Following User Says Thank You to falko For This Useful Post:
almere (22nd February 2013)
  #6  
Old 22nd February 2013, 13:40
almere almere is offline
ISPConfig Developer
 
Join Date: Nov 2012
Location: Netherlands, Rotterdam
Posts: 231
Thanks: 20
Thanked 39 Times in 34 Posts
Send a message via Skype™ to almere
Default

Thank you.

One more: i already installed nginx+ISPConfig , but i can not use FastCGI, only PHP-FPM is it a bug or a feature ?
Reply With Quote
  #7  
Old 22nd February 2013, 13:54
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
 
Default

There's no FastCGI for nginx, only PHP-FPM. In ISPConfig 3.0.4, it was named FastCGI, although it was PHP-FPM, so we renamed it to PHP-FPM.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
sessions not being saved gavimobile General 6 15th January 2012 15:05
NGINX vs Apache rafael-ec General 1 13th January 2012 08:53
trying to install roundcubemail ressel Installation/Configuration 13 24th December 2009 20:13
problems with suexec gobokster Installation/Configuration 7 7th May 2009 13:33
CENTOS 5 Ping Problem gAnDo Server Operation 11 28th March 2008 20:58


All times are GMT +2. The time now is 01:16.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.