Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 7th August 2012, 19:59
concept21 concept21 is offline
Senior Member
 
Join Date: Dec 2011
Posts: 160
Thanks: 28
Thanked 22 Times in 16 Posts
Question Nginx with corresponding Apache2 Mod_Security

Thanks to all the ispconfig 3 authors,
My ispconfig 3.046 installation is a total success! Now, poor man like me can save much $!


My first website runs Apache 2 with suexec, suphp and mod_security. People said it was very secure.


For my second website, it will be doing hosting business. I want it to be fast. So I plan to use Nginx v1. People said it was fast. I also want it secure. For Nginx, is there something corresponding to suexec, suphp and mod_security?
Reply With Quote
Sponsored Links
  #2  
Old 8th August 2012, 09:02
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,421
Thanks: 834
Thanked 5,501 Times in 4,330 Posts
Default

Your first server is slow cause you used suphp. Suphp should not be used for hosting sites, the recommended setup as described in the ispconfig manual is:

php-fcgi + suexec

Suexec ensures that php is run under the user of the website, so it does the same then suphp is doing, just much faster.

There is no mod_security for nginx available and you should be aware that nginx does not support .htaccess files as used by many cms systems. So nginx is a fast server, but it requires that you or our client are able to write their own rewriting rules. You might want to consider this before you choose nginx, its fast but as most fast systems, it requires more tuning and knowledge to get a cms or website running on it.
__________________
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:
concept21 (8th August 2012)
  #3  
Old 9th August 2012, 21:59
concept21 concept21 is offline
Senior Member
 
Join Date: Dec 2011
Posts: 160
Thanks: 28
Thanked 22 Times in 16 Posts
Default

Hi Till,
For an installation with Nginx, is the procedure of creating ssl certificate inside ispconfg3 the same as it is for Apache2 installation?



LxAdmin can't create ssl correctly. Ispconfig3 does it very correctly and simple.
Reply With Quote
  #4  
Old 10th August 2012, 08:37
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,421
Thanks: 834
Thanked 5,501 Times in 4,330 Posts
 
Default

Quote:
For an installation with Nginx, is the procedure of creating ssl certificate inside ispconfg3 the same as it is for Apache2 installation?
Yes, its the same.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
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
[Plugin] nginx reverse proxy for apache2 MaddinXx Plugins/Modules/Addons 8 4th August 2014 17:24
ISPConfig 3.0.1.4 causes Apache to have too many open files gkovacs Installation/Configuration 29 27th February 2013 08:59
Whole server went down wxman General 25 28th September 2012 18:32
Apache2 to Apache2 + Nginx sumfvm Installation/Configuration 3 13th May 2012 10:31
Apache2 high load lano Server Operation 3 24th December 2011 17:29


All times are GMT +2. The time now is 00:35.


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