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

Nginx/Apache default configuration doesn't work #1779

Closed
tsg opened this issue May 31, 2016 · 0 comments
Closed

Nginx/Apache default configuration doesn't work #1779

tsg opened this issue May 31, 2016 · 0 comments
Labels

Comments

@tsg
Copy link
Contributor

tsg commented May 31, 2016

In the default config for nginx/apache we have:

  hosts: ["http://127.0.0.1/"]

That trailing / causes issues, because the code then ignores the path configured later. We should either remove that / from the configuration or change the code to ignore the trailing slash.

@tsg tsg added review Metricbeat Metricbeat bug and removed review labels May 31, 2016
tsg pushed a commit to tsg/beats that referenced this issue Jun 6, 2016
The issue with the trailing slash is that the code considers that
a "path", so the real path is ignored when configured.

Fixes elastic#1779.
ruflin pushed a commit that referenced this issue Jun 6, 2016
The issue with the trailing slash is that the code considers that
a "path", so the real path is ignored when configured.

Fixes #1779.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant