# ¿Cuál es el REGEX correcto para la lista de permitidos en app.yml?

**URL:** <https://meta.discourse.org/t/whats-the-correct-regex-for-the-allowlist-in-app-yml/265020>\
**Category:** Self-hosting\
**Tags:** prometheus\
**Created:** [22 Febrero, 2021 07:01 UTC](https://meta.discourse.org/t/whats-the-correct-regex-for-the-allowlist-in-app-yml/265020 "2021-02-22T07:01:02Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![andy212](https://avatars.discourse-cdn.com/v4/letter/a/ee7513/32.png) [@andy212](https://meta.discourse.org/u/andy212)\
**Post date:** [22 Febrero, 2021 07:01 UTC](https://meta.discourse.org/t/whats-the-correct-regex-for-the-allowlist-in-app-yml/265020/1 "2021-02-22T07:01:02Z")

</div>

> [@sam](#):
>
> `DISCOURSE_PROMETHEUS_TRUSTED_IP_ALLOWLIST_REGEX`

¿Cuál es el formato correcto de \_REGEX en el archivo app.yml?

¿Esto es correcto?

```plaintext
  DISCOURSE_PROMETHEUS_TRUSTED_IP_ALLOWLIST_REGEX: "(35.247.25.222|34.83.69.98|35.192.150.184)"

```

Voy a intentar enumerar todas las direcciones IP utilizadas por [grafana.com](http://grafana.com) para el scraping ([https://grafana.com/api/hosted-grafana/source-ips.txt](https://grafana.com/api/hosted-grafana/source-ips.txt)).

---

_[View the full topic](https://meta.discourse.org/t/whats-the-correct-regex-for-the-allowlist-in-app-yml/265020)._
