nginx config to serve as external secure proxy
Posted
by
realworldcoder
on Server Fault
See other posts from Server Fault
or by realworldcoder
Published on 2012-09-27T23:40:52Z
Indexed on
2012/09/28
3:40 UTC
Read the original article
Hit count: 449
nginx
I'm setting up an external nginx server to proxy all outgoing traffic in order to simplify outbound firewall rules.
What I'd like is:
- https://service1.com.example.com --> https://service1.com:443
- https://www.service2.com.example.com --> https://www.service2.com:443
- https://service3.com.example.com --> http://service3.com:8080
- (everything else denied)
(There will be 30-40 different hosts here, so I'm looking for something relatively easy to maintain.)
Is this possible with Nginx? Or is there some other proxy software that is better suited for this problem?
© Server Fault or respective owner