[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Why not Proxy with Nginx ?



On Fri, 10 Jul 2009, Jörg Stephan wrote:

> Hi there,
>
> on the meeting yesterday i've heared from the proxy problems with apache + mod_proxy so i just wanne tell a bit from an
> other proxy which i set up a few weeks ago in firm. So talking about Nginx. In the firm i work we had problems with the
> many different URLs behind the old proxy and we come to an state were apache has been to slow. One of the main points why
> i looked for a different Software was the IP-Forward Problem we always had.
> So i found Nginx. Nginx is a very fast proxy http://wiki.nginx.org/Main and it comes with many modules to handle the
> connection. On the other hand it is very easy to use.
>
> So, take a short look:
>
> proxy_redirect          off;
> proxy_set_header        X-Real-IP       $host;
> proxy_set_header        X-Forwarded-For $proxy_add_x_forwarded_for;
> client_max_body_size    10m;
> client_body_buffer_size 128k;
> proxy_connect_timeout   90;
> proxy_send_timeout      90;
> proxy_read_timeout      90;
> proxy_buffers           32 4k;
>
> this does all the IP-Forwarding
>
> and the (in this case webdav) is the configuration of the server
>
> server {
>         listen   80;
>         server_name  isg-dav1.XX.XXXXX.de;
>         access_log  /var/log/nginx/localhost.access.log;
>         error_page   500 502 503 504  /50x.html;
>         location = /50x.html {
>                 root   /var/www/nginx-default;
>         }
>         location / {
>                 proxy_pass        http://isg-dav.XXXX.XXXXX.de;
>                 include /etc/nginx/proxy.conf;
>         }
> }
>
> So if any question, i try to answer them,
>

Stuff like this comes up from time to time and the question I always have
is: What is it we're wanting to do that we can't currently do with the
setup we have now?  We're a group with a lot of turnover and almost
everyone knows how to use apache so why is it worth it to us to switch to
nginx?

	-Mike

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]