Fancis,
Nginx is configured as a reverse proxy server in this architecture. It is successfully working except with this AJAX call.
Client:54454 ==> NginxMaster:80 | NginxWorker:52312 ==> UpstreamServer:443
UpstreamServer:443 ==> NginxWorker:52312 | NginxMaster:80 ==> Client:54454
The requests and responses are as originally provided within the original post of this thread (in order).
My guess is that the upstream server is responding with the Host header as example.com:443 and needs to be rewritten prior to the client making the subsequent, asynchronous AJAX request to the upstream server.
Any idea how to evaluate and modify the Host header prior to the subsequent, asynchronous AJAX request to the upstream server?
Thank you for your time and assistance.
Respectfully,
Gary