Nginx Proxy + Apache and php5 as apache module SERVER_ADDR problem (HELP!)

Igor Sysoev igor at sysoev.ru
Mon Oct 18 11:18:46 MSD 2010


On Sun, Oct 17, 2010 at 04:12:06PM -0400, DarkPepe wrote:

>  server {
> 
>     server_tokens off;
>     listen       EXTERNAL_IP_3:80;
> 
>    server_name  example.com www.example.com;
> 
>    location ~ \.(flv|css|js|ico|jpg|png|gif|swf|torrent)$ {
>      root /home/example/public_html/;
>      break;
>    }

BTE, this "break" is just waste of CPU cycles.


-- 
Igor Sysoev
http://sysoev.ru/en/



More information about the nginx mailing list