Skip to content
New issue

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

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

Already on GitHub? # to your account

http header option is not working #5

Open
maxadamo opened this issue Aug 2, 2022 · 0 comments
Open

http header option is not working #5

maxadamo opened this issue Aug 2, 2022 · 0 comments

Comments

@maxadamo
Copy link

maxadamo commented Aug 2, 2022

I am trying to add --header "Host: myhost.mydomain" but it doesn't work.

for instance, this one replies 200:

curl -k https://142.251.36.36 -H "Host: www.google.com" -I

this one replies 302:

sensu-base-checks http -k -r 200 -u https://142.251.36.36/ -H "Host: www.google.com"
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant