Quantcast
Channel: Nginx Forum - Nginx Mailing List - Russian
Viewing all articles
Browse latest Browse all 3102

proxy_pass on https (2 replies)

$
0
0
Здравствуйте.

Расскажите, пожалуйста, почему в случае, если я делаю proxy_pass на http
хост, то keepalive работает. А если на https, то нет.
Если что, то настройки location у меня такие:

location / {
proxy_pass https://backend;
proxy_http_version 1.1;
proxy_ssl_session_reuse on;
proxy_buffering on;
proxy_set_header X_FORWARDED_PROTO https;
proxy_ssl_verify off;
proxy_set_header Connection "";
proxy_set_header Host $host;
proxy_pass_request_headers on;
}

upstream mrg {
server ip:443;
keepalive 600;
}



--
Best regards,
Anton Kiryushkin
_______________________________________________
nginx-ru mailing list
nginx-ru@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-ru

Viewing all articles
Browse latest Browse all 3102

Trending Articles



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