Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Jul 2012 14:24:46 +0200
From:      Damien Fleuriot <ml@my.gd>
To:        freebsd-questions@freebsd.org
Subject:   Re: Apache vs. nginx
Message-ID:  <5006AB0E.30606@my.gd>
In-Reply-To: <35DA07557A36800645B39187@localhost>
References:  <35DA07557A36800645B39187@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help

On 7/17/12 4:40 PM, Paul Schmehl wrote:
> I'm the admin for a small hobby website (Stovebolt.com - about 7 million
> hits/mo).  We're fixin to buy a new server, and since I have to start
> from scratch (install FreeBSD and all the needed ports), I'm wondering
> if anyone on this list has switched from Apache to nginx.
> 
> If you have, what has your experience been like?  Was the change
> relatively easy?  (I'm not intimidated by technical details.  I've been
> running FreeBSD on these servers for about 12 years now.)  Was the
> performance better?  (We've not been having any problems with Apache to
> this point.) Is there sufficient support from addon apps to run a site
> with a php-driven forum?
> 


I have.



1/ regarding the difficulty of the switch

It depends on whether or not you're running code parsing programs like
CGI and PHP.

It also depends on whether or not you're using apache rewrite rules.



2/ regarding performance

I'm much more satisfied by nginx than I was by apache.
I find it runs smoother, it's not vulnerable to slowloris...



3/ regarding functionality

In constrast with Wojciech Puchar's email, I'd like to point out that
while nginx doesn't support .htaccess files, you can still customize
your vhosts to add authentication and such.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5006AB0E.30606>