Quantcast
Channel: Nginx Forum - Nginx Mailing List - English
Viewing all articles
Browse latest Browse all 7229

ssl proxys https web server is very slow (3 replies)

$
0
0
Hi, It's my first time using NGINX to proxy other web servers. I set a
variable in location, this variable may be gotten in cookie or args. if
I use it directly likes "proxy_pass https://$nodeIp2;", it will get the
response for a long time. but if I hardcode likes "proxy_pass
https://147.128.22.152:8443" it works normally. Do I need to set more
cofiguration parameters to solve this problem.Below is the segment of my
windows https configuration.

http {
...
server {
listen 443 ssl;
server_name localhost;

ssl_certificate server.crt;
ssl_certificate_key server.key;

location /pau6000lct/ {
set $nodeIp 147.128.22.152:8443;
proxy_pass https://$nodeIp;

proxy_set_header Host $http_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 https;
}
}
}

--
Posted via http://www.ruby-forum.com/.

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx

Viewing all articles
Browse latest Browse all 7229

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>