Why not Proxy with Nginx ?

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

 



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,

Greets

Joerg
_______________________________________________
Fedora-infrastructure-list mailing list
Fedora-infrastructure-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-infrastructure-list

[Index of Archives]     [Fedora Development]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux