# Ingress Nginx parse file on One agent

**URL:** <https://discourse.crowdsec.net/t/ingress-nginx-parse-file-on-one-agent/1492>\
**Category:** crowdsec\
**Created:** [November 2, 2023, 4:07pm UTC](https://discourse.crowdsec.net/t/ingress-nginx-parse-file-on-one-agent/1492 "2023-11-02T16:07:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Killian-Aidalinfo](https://dub1.discourse-cdn.com/flex013/user_avatar/discourse.crowdsec.net/killian-aidalinfo/32/712_2.png) [@Killian-Aidalinfo](https://discourse.crowdsec.net/u/Killian-Aidalinfo)\
**Post date:** [November 2, 2023, 4:07pm UTC](https://discourse.crowdsec.net/t/ingress-nginx-parse-file-on-one-agent/1492/1 "2023-11-02T16:07:03Z")

</div>

Hi,

I’ve deploy crowdsec with Helm and custom values.  
I’ve error on one agent not open log file nginx. If I deleted nginx controller, lapi and agent and k8s reconstruct he work few times…

 ![Capture d’écran du 2023-11-02 17-01-55](https://europe1.discourse-cdn.com/flex013/uploads/crowdsec/original/1X/7c43c981475f23f284f5bd5ad034f65095962bc9.png)

---

<div class="post-metadata">

**Author:** ![iiAmLoz](https://dub1.discourse-cdn.com/flex013/user_avatar/discourse.crowdsec.net/iiamloz/32/386_2.png) [@iiAmLoz](https://discourse.crowdsec.net/u/iiAmLoz)\
**Post date:** [November 2, 2023, 8:58pm UTC](https://discourse.crowdsec.net/t/ingress-nginx-parse-file-on-one-agent/1492/2 "2023-11-02T20:58:49Z")

</div>

> [@Killian-Aidalinfo](#):
>
> I’ve error on one agent not open log file nginx.

the file is not found within the location, you can add a [force inotify](https://docs.crowdsec.net/docs/next/data_sources/file#force_inotify) to force the system to monitor the folder for the file to be created.

---

<div class="post-metadata">

**Author:** ![Killian-Aidalinfo](https://dub1.discourse-cdn.com/flex013/user_avatar/discourse.crowdsec.net/killian-aidalinfo/32/712_2.png) [@Killian-Aidalinfo](https://discourse.crowdsec.net/u/Killian-Aidalinfo)\
**Post date:** [November 2, 2023, 9:37pm UTC](https://discourse.crowdsec.net/t/ingress-nginx-parse-file-on-one-agent/1492/3 "2023-11-02T21:37:13Z")

</div>

Ok thanks, I’ll test this tomorrow or I’ll let you know.  
For now I’ve customized the nodeselector value with a tag to have just one agent, where the nginx controller is located, with this configuration I have no problem
