nginx proxy without ssl termination

masber masber masber at
Sun Nov 20 21:03:26 UTC 2022

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list