# Hoe verzoeken te laten vallen met een lege user agent?

**URL:** <https://meta.discourse.org/t/how-to-drop-requests-with-an-empty-user-agent/259069>\
**Category:** Self-hosting\
**Created:** [22 maart 2023 om 16:38 UTC](https://meta.discourse.org/t/how-to-drop-requests-with-an-empty-user-agent/259069 "2023-03-22T16:38:25Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![Jagster](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jagster/32/192154_2.png) [@Jagster](https://meta.discourse.org/u/Jagster)\
**Post date:** [26 maart 2023 om 21:49 UTC](https://meta.discourse.org/t/how-to-drop-requests-with-an-empty-user-agent/259069/6 "2023-03-26T21:49:41Z")

</div>

As I said earlier I don’t know docker. I’m just poor end user with PhD of copy&paste.

That’s why one notice to future searchers:

`web.blockemptyua.yml` can’t be very first one of declared templates. More precisely it has to come after `web.template.yml` (of perhaps even after every `web.*` templates).

Order has meaning here I reckon and if I/we are trying to work with it as first one rebuilding/bootstrapping stops with error because there isn’t any `/etc/nginx/conf.d/discourse.conf` at that moment.

Well, every day something new 😉

---

_[View the full topic](https://meta.discourse.org/t/how-to-drop-requests-with-an-empty-user-agent/259069)._
