-
Notifications
You must be signed in to change notification settings - Fork 372
added Host header option #1163
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
base: main
Are you sure you want to change the base?
added Host header option #1163
Conversation
|
Hi @mariovitale1979! Welcome to the project! 🎉 Thanks for opening this pull request! |
|
✅ All required contributors have signed the F5 CLA for this PR. Thank you! |
|
I have hereby read the F5 CLA and agree to its terms |
|
hi @mariovitale1979, this PR is introducing breaking changes to NewNginxClient so anyone importing that function might be affected. can you please create a gh issue clearly stating
|
|
Well, let me try to explain what issue I had to solve for my setup. I hope my explanation helps a bit and I completely admit that maybe this solution is only needed for my particular setup and/or maybe there is a solution that didn't require me to fork this project but after almost 1 full day investigating, i settled with this solution. |
|
This PR is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 10 days. |
Proposed changes
In my setup using Bunkerweb, the 'internal' HTTP calls to the stub_status endpoint where blocked by the different security features of Bunkerweb. Only by specifying the Host in the header, nginx_exporter was able to reach the stub_status endpoint