From owner-freebsd-questions@FreeBSD.ORG Wed Jul 18 12:24:52 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2444A1065672 for ; Wed, 18 Jul 2012 12:24:52 +0000 (UTC) (envelope-from ml@my.gd) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id 9FA3B8FC0C for ; Wed, 18 Jul 2012 12:24:51 +0000 (UTC) Received: by eabm6 with SMTP id m6so562656eab.13 for ; Wed, 18 Jul 2012 05:24:50 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding :x-gm-message-state; bh=TobC/KjA7e2es+vZM+Ayp5RCX5ZUREYOSAGBCqCgY4c=; b=XHBYtZ1jIkX+UlD4N6xxScRctew2uGzAs1lCMtpQAMX5oNuLjqvtNXEH/oQlK4QI38 R5K9vGeRxy7pR9U4QI0MA7XlWM3fxzMaujzOSsGfu71wPXB9wVSyWhnV3bCzd+RYYTqi VRRWo8nTslWximTq7cwTMLUr7E4tC1cPMQe+/660P9f//XcTVMrzzsFaL0APHnOy86F9 EOS+fkrLilvQHzy+Mg9+xzmZiEvStwpl6NT/EL54KCi+IrzhmuyB26+LpfDZp1193csz bpptvCHOfGjoLVdRd4TpfrdsyQ6jKM5rfmv9HXASR01uJGxFDjsBbWFqChxikXec0XNc g2AA== Received: by 10.14.225.133 with SMTP id z5mr3493587eep.35.1342614289882; Wed, 18 Jul 2012 05:24:49 -0700 (PDT) Received: from dfleuriot-at-hi-media.com ([83.167.62.196]) by mx.google.com with ESMTPS id w3sm35927613eep.2.2012.07.18.05.24.47 (version=SSLv3 cipher=OTHER); Wed, 18 Jul 2012 05:24:48 -0700 (PDT) Message-ID: <5006AB0E.30606@my.gd> Date: Wed, 18 Jul 2012 14:24:46 +0200 From: Damien Fleuriot User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:13.0) Gecko/20120614 Thunderbird/13.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <35DA07557A36800645B39187@localhost> In-Reply-To: <35DA07557A36800645B39187@localhost> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQmcSxAYkdBmkVeMACZbEYj8IFWF4CDofQtpIz+dyIT0dWJBVCkiaLamaM6csDVwIBrkhnR8 Subject: Re: Apache vs. nginx X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jul 2012 12:24:52 -0000 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.