Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Fix nginx error related to passthrough TLS#208

Merged
kvaps merged 1 commit intocozystack:maincozystack/cozystack:mainfrom
kingdonb:fix-nginx-errorkingdonb/cozystack:fix-nginx-errorCopy head branch name to clipboard
Jul 8, 2024
Merged

Fix nginx error related to passthrough TLS#208
kvaps merged 1 commit intocozystack:maincozystack/cozystack:mainfrom
kingdonb:fix-nginx-errorkingdonb/cozystack:fix-nginx-errorCopy head branch name to clipboard

Conversation

@kingdonb
Copy link
Member

@kingdonb kingdonb commented Jul 8, 2024

I don't understand why "true" value isn't accepted here, but I have seen this before. The --enable-ssl-passthrough parameter is not supposed to accept any value, it's a stand-alone argument.

With this change I get my traffic appropriately passed through to backend ingress on a kubevirt cluster that enabled TLS

Without it (the change is made on the addon ingress, which is very strange, because that one isn't even configured to use a passthrough annotation... the root ingress controller doesn't seem to care) I get this error:

400 Bad Request
The plain HTTP request was sent to HTTPS port

nginx

I don't understand why "true" value isn't accepted here, but I have seen
this before. The `--enable-ssl-passthrough` parameter is not supposed to
accept any value, it's a stand-alone argument.

With this change I get my traffic appropriately passed through to
backend ingress on a kubevirt cluster that enabled TLS

Without it (on the addon ingress, which is very strange, because that
one isn't even configured to use a passthrough annotation...) I get this
error:

> 400 Bad Request
> The plain HTTP request was sent to HTTPS port
> ---
> nginx

Signed-off-by: Kingdon Barrett <kingdon+github@tuesdaystudios.com>
Copy link
Member

@kvaps kvaps left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kvaps kvaps merged commit 8664d57 into cozystack:main Jul 8, 2024
@kingdonb kingdonb deleted the fix-nginx-error branch July 8, 2024 16:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.