Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Can NGINX be set up as reverse transparent proxy with SSL support? I have a third-party application using HTTPS. For business purposes it is required to log some request data from HTTPS connections.

share|improve this question
What is your use case? – EEAA Feb 1 '13 at 3:01

Yes, you can.

As you can see from the description of the proxy_pass directive, it allows redirection for both http and https protocols / address schemes.

I would imagine that you can even setup a general-purpose TLS interception device with nginx, through the use of proxy_pass $scheme://$http_host;.

Additionally, you might want to look into OpenBSD relayd, which, as per relayd.conf.5, officially supports "TLS inspection" and "SSL/TLS interception".

share|improve this answer

short answer is yes. you can use nginx as a reverse proxy. but your use case is not clear.

share|improve this answer
I have a Web application and a fat client that connects via HTTPS to this application. I need to capture some requests values and log them in a file for compliance purposes. I cannot modify the application. So I am looking for a kind of proxy that will intercept the request on the way and parse it. As the client does not support connections via proxy, the proxy has to be transparent. – tetris5 Feb 1 '13 at 13:11

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.