Score:1

Use NGINX as a proxy to terminate SSL and forward request to target with HTTP

cn flag

Assumptions

  • Client requests target websites using HTTPS
  • NGINX server is passed as HTTP proxy for said requests
  • Client and NGINX server can share an SSL certificate

Objective

Allow NGINX to decrypt the request and forward it via HTTP to the end target.

Conclusion

Given that this is possible, what is the technique called and how is it implemented in NGINX?

Orphans avatar
cn flag
It is called ReverseProxy - there is quite alot of info about it out there
Constantin avatar
cn flag
That's really not enough. what I'm trying to achieve is MITM / Traffic Interception
Ginnungagap avatar
gu flag
A MitM is little more than an illegitimate reverse proxy, so @Orphans' comment is on point and exactly what you're describing.
Ginnungagap avatar
gu flag
Or you're looking for a TLS capable proxy in which case NGINX isn't the right tool and product recommendations are off-topic.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.