The elastic fleet integration for nginx has a metrics configuration that queries the stub status page, and requires the url.
When you supply an http url, it will try to use it as an https url and error out.
It appears not to honor the configuration.