Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reverseproxy: Fix incorrect health_headers Caddyfile parsing #4485

Merged
merged 1 commit into from
Dec 17, 2021

Conversation

francislavoie
Copy link
Member

Fixes #4481

Basically health_headers would eat any config items that came after it because the nesting wasn't properly set up.

I just did a bare-minimum change to the tests (fails before).

@francislavoie francislavoie added bug 🐞 Something isn't working under review 🧐 Review is pending before merging labels Dec 16, 2021
@francislavoie francislavoie added this to the v2.5.0 milestone Dec 16, 2021
Copy link
Member

@mholt mholt left a comment

Choose a reason for hiding this comment

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

Nice, thanks for discovering this and for the patch!

@mholt mholt merged commit 5333c35 into master Dec 17, 2021
@mholt mholt removed the under review 🧐 Review is pending before merging label Dec 17, 2021
@mholt mholt deleted the health-headers-caddyfile branch December 17, 2021 15:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐞 Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

health_check return 503 when set a host upstream
2 participants