Sources: http://nginx.com/blog/nginx-ssl/ , http://nginx.com/resources/admin-guide/reverse-proxy/
I needed to redirect a path served by a web browser over SSL to another server.
For example: https://domain.local/oldpath/ should go to the old server and https://domain.local/newpath/ should go to the new server.
NGINX has both these capabilities.
Here’s my stripped nginx.conf
:
1 | http { |
This is actually a little scary. Who knows how may SSL proxy servers are deployed that intercept traffic everyday? Great Firewall of China?