Welcome! Log In Create A New Profile

Advanced

Nginx with Centralized Proxies

Posted by paisit.j 
Nginx with Centralized Proxies
September 18, 2012 11:17PM
Hi,

I'm planning to write an Nginx extension that sits in front of a pool of squid proxies:
Application -> Nginx -> Squid -> Target web site.

It would need to do the following:

1) Bind to a specific URL like <nginx_server>/proxy/
2) Inspect HTTP request header
3) Select squid proxy from a list
4) Forward on HTTP request to squid
5) Inspect the content and update the list accordingly
6) Rewrite the response header and flush out the content to the application.

I wanted some feedback on whether this is a feasible and if there any suggestions on how one would approach building this extension. If nginx is not well suited for this, are there alternatives that would work for this use case?

Thanks in advance :)
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 94
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready