Welcome! Log In Create A New Profile

Advanced

Re: Nginx as reverse proxy - proxy_ssl_x questions

Maxim Dounin
November 18, 2023 07:06PM
Hello!

On Sat, Nov 18, 2023 at 01:54:21PM +0300, Mark wrote:

> Hello there.
>
> Having a proxy directive like;
>
> location / {
> proxy_pass http://10.10.10.4:4020;
> ...
>
> I wonder when using proxy_pass http://... (not httpS),
> are these directives effective, under the proxy_pass?
>
> proxy_ssl_name $host;
> proxy_ssl_server_name on;
> proxy_ssl_session_reuse off;
>
> Or they would work ONLY if proxy_pass is pointed to an "https://"?

The "proxy_ssl_*" directives define configuration for SSL
proxying. That is, corresponding values are only used when
proxy_pass is used with the "https" scheme.

--
Maxim Dounin
http://mdounin.ru/
_______________________________________________
nginx mailing list
nginx@nginx.org
https://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Nginx as reverse proxy - proxy_ssl_x questions

Mark November 18, 2023 05:56AM

Re: Nginx as reverse proxy - proxy_ssl_x questions

Maxim Dounin November 18, 2023 07:06PM

Re: Nginx as reverse proxy - proxy_ssl_x questions

Mark November 19, 2023 04:42AM

Re: Nginx as reverse proxy - proxy_ssl_x questions

Maxim Dounin November 19, 2023 08:52PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 83
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