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: Caddyfile support for health_method #6454

Conversation

jbro
Copy link
Contributor

@jbro jbro commented Jul 12, 2024

Adds Caddyfile support for setting the request method used for reverse proxy active health checks.

Follow up to #6453, spurred on by #6453 (comment)

Note: There is no check on which HTTP verb is accepted as apparently some people like to make up their own.

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.

Thanks! This is awesome of you to add this too. LGTM -- I'll wait for @francislavoie though.

@francislavoie
Copy link
Member

Thanks. Please also update one of the adapt tests in https://github.com/caddyserver/caddy/tree/master/caddytest/integration/caddyfile_adapt (one of the reverse_proxy ones I guess) to set this option

@francislavoie francislavoie added the feature ⚙️ New feature or request label Jul 12, 2024
@jbro
Copy link
Contributor Author

jbro commented Jul 12, 2024

Please also update one of the adapt tests

OK, I've given it a go :)

@francislavoie francislavoie changed the title Add Caddyfile support of setting active health check request method reverseproxy: Caddyfile support for health_method Jul 12, 2024
Copy link
Member

@francislavoie francislavoie left a comment

Choose a reason for hiding this comment

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

Thank you!

@francislavoie francislavoie merged commit 07c8636 into caddyserver:master Jul 12, 2024
23 checks passed
@jbro jbro deleted the active-health-checck-method-caddyfile-support branch July 12, 2024 21:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature ⚙️ New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants