Nginx as reverse proxy for https traffic
Ajay_Sonawane at symantec.com
Wed Apr 11 05:11:54 UTC 2018
I am trying to use Nginx as a reverse proxy in an environment where clients connects to my server (https://myserver:10443<https://myserver:10443/>). I am trying to use Nginx as a reverse proxy so that client will connect to Nginx proxy and Nginx will forward all requests to backend server. The communication is ssl communication on port 10443. I have installed and configured Nginx but still not able to connect to server through proxy. The configuration is
Not sure what I have done wrong. As of now, my backend is speaking to proxy on https on port 10443, but eventually it will be http on port 10443.
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
ssl_protocols SSLv3 TLSv1 TLSv1.1 TLSv1.2;
ssl_session_cache builtin:1000 shared:SSL:10m;
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nginx