nginx-loadbalancer-kubernetes icon indicating copy to clipboard operation
nginx-loadbalancer-kubernetes copied to clipboard

Fix "listen" directive syntax prometheus.conf

Open itaytalmi opened this issue 6 months ago • 0 comments

There's a syntax issue in the "listen" directive. Should be "listen 9113;", not "listen 9113:". Using the current file, I got an error upon reloading the NGINX service ("nginx: [emerg] invalid port in "9113:" of the "listen" directive in /etc/nginx/conf.d/prometheus.conf:11")

Proposed changes

Describe the use case and detail of the change. If this PR addresses an issue on GitHub, make sure to include a link to that issue using one of the supported keywords here in this description (not in the title of the PR).

Checklist

Before creating a PR, run through this checklist and mark each as complete.

  • [ ] I have read the CONTRIBUTING document
  • [ ] If applicable, I have added tests that prove my fix is effective or that my feature works
  • [ ] If applicable, I have checked that any relevant tests pass after adding my changes
  • [ ] I have updated any relevant documentation (README.md and CHANGELOG.md)

itaytalmi avatar Aug 08 '24 18:08 itaytalmi