Welcome! Log In Create A New Profile

Advanced

Re: proxy protocol over a plain tcp with ssl

nir
January 11, 2018 01:21PM
Hi Roman,
I'm trying to pass the proxy protocol to my backend through Nginx when the traffic is encrypted

This configuration block
listen 8012;
proxy_pass backend;
proxy_protocol on;

allows me to pass a non encrypted traffic and the proxy protocol

This configuration block:
listen 8012 proxy_protocol ssl;
proxy_pass backend;

allows me to pass encrypted traffic to my backend but the proxy protocol is not passed

This configuration block:
listen 8012 ssl;
proxy_pass backend;
proxy_protocol on;

fails on SSL handshake


The last configuration block was my first attempt and I expected it to work.
The first two are debug attempts.
If you can tell my why the last one doesn't work and how can it be fixed it will help a lot
Subject Author Posted

proxy protocol over a plain tcp with ssl

nir January 11, 2018 08:22AM

Re: proxy protocol over a plain tcp with ssl

Roman Arutyunyan January 11, 2018 12:22PM

Re: proxy protocol over a plain tcp with ssl

nir January 11, 2018 01:21PM

Re: proxy protocol over a plain tcp with ssl

nir January 11, 2018 07:22PM

Re: proxy protocol over a plain tcp with ssl

Yaroslav Zhuravlev January 18, 2018 07:14AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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