Using Nginx as a proxy server
Sathya Prasad H R
sathya.prasad at automationanywhere.com
Mon Nov 9 12:36:12 UTC 2020
Hello Team,
We have been configuring Nginx as a proxy server for one of our module server.
The flow works like below
[cid:image001.png at 01D6B6C2.4E20A040]
* Request comes from Module1 server to nginx
* Nginx receives and act as proxy server to forward the received data from module1 server to module2 server
We are facing issue while configuring the proxy server configuration. URL is a SSL enabled Uri and it's a open SSL certificate, which doesn't have private key.
When we tested the above scenario which is mention in the image with the proxy server configuration which is listed in official doc we were facing an issue.
The logs says that upstream server was trying to connect with port 80, but it suppose to connect with port 443.
I need bit information that why its been connecting to port 80 and what's the configuration that I am missing it. Please help us to unblock it.
--
Regards,
Sathya
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20201109/912c2630/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 2171 bytes
Desc: image001.png
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20201109/912c2630/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nginx.conf
Type: application/octet-stream
Size: 2039 bytes
Desc: nginx.conf
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20201109/912c2630/attachment-0004.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nginx2.conf
Type: application/octet-stream
Size: 1814 bytes
Desc: nginx2.conf
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20201109/912c2630/attachment-0005.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: access.log
Type: application/octet-stream
Size: 786 bytes
Desc: access.log
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20201109/912c2630/attachment-0006.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: error.log
Type: application/octet-stream
Size: 5272 bytes
Desc: error.log
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20201109/912c2630/attachment-0007.obj>
More information about the nginx
mailing list