Welcome! Log In Create A New Profile

Advanced

nginx proxy without ssl termination

masber masber
November 20, 2022 04:04PM
dear nginx community,

I would like to communicate with a client with a server application, they can't see each other directly and I would like to use an nginx server to solve this. The communication goes through HTTPS which is already set up on the server. I was wondering whether it would be possible to configure nginx proxy without SSL termination.

I currently have this as a configuration

server {
listen 6442;
location / {
proxy_pass https://kubeapi-vip.local:6442$uri$is_args$args;
}
}

This works for HTTP but I am getting the following error when trying to access the server through HTTPS

curl: (35) error:1408F10B:SSL routines:ssl3_get_record:wrong version number

I assume this is because the client expects nginx to have the certificate configured. Am I right?

What can I do in order to have nginx proxy without SSL termination?

thank you very much
_______________________________________________
nginx mailing list -- nginx@nginx.org
To unsubscribe send an email to nginx-leave@nginx.org
Subject Author Posted

nginx proxy without ssl termination

masber masber November 20, 2022 04:04PM

Re: nginx proxy without ssl termination

unclepieman November 20, 2022 04:16PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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