# Metricbeat nginx bug for non-https

**URL:** <https://discuss.elastic.co/t/metricbeat-nginx-bug-for-non-https/365408>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [August 22, 2024, 8:28pm UTC](https://discuss.elastic.co/t/metricbeat-nginx-bug-for-non-https/365408 "2024-08-22T20:28:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tdanno](https://avatars.discourse-cdn.com/v4/letter/t/f0a364/32.png) [@tdanno](https://discuss.elastic.co/u/tdanno)\
**Post date:** [August 22, 2024, 8:28pm UTC](https://discuss.elastic.co/t/metricbeat-nginx-bug-for-non-https/365408/1 "2024-08-22T20:28:08Z")

</div>

The elastic fleet integration for nginx has a metrics configuration that queries the stub status page, and requires the url.

 ![metricbeat-nginx-01](https://us1.discourse-cdn.com/elastic/original/3X/4/e/4e5e88addd76ba68b149adef5028d3e9e03b8a37.png)

When you supply an http url, it will try to use it as an https url and error out.

 ![metricbeat-nginx-02](https://us1.discourse-cdn.com/elastic/original/3X/4/6/46ffb373e56953bd6f4b11cda38414a1494182fc.png)

It appears not to honor the configuration.
