Welcome! Log In Create A New Profile

Advanced

proxy_pass on https

Anton Kiryushkin
February 04, 2015 04:18PM
Здравствуйте.

Расскажите, пожалуйста, почему в случае, если я делаю 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
Subject Author Posted

proxy_pass on https

Anton Kiryushkin February 04, 2015 04:18PM

Re: proxy_pass on https

Anton Kiryushkin February 04, 2015 04:18PM

Re: proxy_pass on https

Maxim Dounin February 05, 2015 07:44AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 139
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready