# Crowdsec Manager is ignoring my dynamic config path when setting whitelist (crowdsec\_manager discussion #28)

**URL:** <https://forum.hhf.technology/t/crowdsec-manager-is-ignoring-my-dynamic-config-path-when-setting-whitelist-crowdsec-manager-discussion-28/4689>\
**Category:** CrowdSec Manager\
**Tags:** discussion\
**Created:** [December 9, 2025, 12:18am UTC](https://forum.hhf.technology/t/crowdsec-manager-is-ignoring-my-dynamic-config-path-when-setting-whitelist-crowdsec-manager-discussion-28/4689 "2025-12-09T00:18:52Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://forum.hhf.technology/user_avatar/forum.hhf.technology/system/32/6437_2.png) [@system](https://forum.hhf.technology/u/system)\
**Post date:** [December 9, 2025, 12:18am UTC](https://forum.hhf.technology/t/crowdsec-manager-is-ignoring-my-dynamic-config-path-when-setting-whitelist-crowdsec-manager-discussion-28/4689/1 "2025-12-09T00:18:52Z")

</div>

> 💬 **GitHub discussion [crowdsec\_manager #28](https://github.com/hhftechnology/crowdsec_manager/discussions/28)** in _Q&A_, started by **`Viceman256`** on GitHub

Environment label in docker:  
` - TRAEFIK_DYNAMIC_CONFIG=/app/config/traefik/rules/dynamic_config.yml`

Path set in GUI:

[External Image](https://github.com/user-attachments/assets/711cd8de-1545-47d0-8317-3d6f10ab892e "Image hosted on another site. Click to open in a new tab.")

Logs show path set:  
`2025-12-09T00:13:35Z INF msg=Setting Traefik config path path=/app/config/traefik/rules/dynamic_config.yml`

Go to add to traefik whitelist, receive error (crowdsec whitelist works fine):

```auto
2025-12-09T00:13:45Z ERR error=command failed (exit code 1): sed: /etc/traefik/dynamic_config.yml: No such file or directory
 msg=Failed to add IP to Traefik whitelist: command failed (exit code 1): sed: /etc/traefik/dynamic_config.yml: No such file or directory

```

Docker exec shows the dynamic config:

```auto
docker exec crowdsec-manager ls /app/config/traefik/rules
custom-middlewares.yml
dynamic_config.yml

```

Containers were rebuilt as well with attempted config, it still presents that error.

* * *

💬 Join in here or [on GitHub](https://github.com/hhftechnology/crowdsec_manager/discussions/28).

---

<div class="post-metadata">

**Author:** ![system](https://forum.hhf.technology/user_avatar/forum.hhf.technology/system/32/6437_2.png) [@system](https://forum.hhf.technology/u/system)\
**Post date:** [December 10, 2025, 11:36am UTC](https://forum.hhf.technology/t/crowdsec-manager-is-ignoring-my-dynamic-config-path-when-setting-whitelist-crowdsec-manager-discussion-28/4689/2 "2025-12-10T11:36:28Z")

</div>

**`hhftechnology`** [commented on GitHub](https://github.com/hhftechnology/crowdsec_manager/discussions/28#discussioncomment-15219286):

> @​Viceman256 [https://crowdsec-manager.hhf.technology/docs/configuration/environment#4-custom-traefik-dynamic-configuration](https://crowdsec-manager.hhf.technology/docs/configuration/environment#4-custom-traefik-dynamic-configuration)
> 
> You are changing path inside the crowdsec\_manager container, that will not work

---

<div class="post-metadata">

**Author:** ![system](https://forum.hhf.technology/user_avatar/forum.hhf.technology/system/32/6437_2.png) [@system](https://forum.hhf.technology/u/system)\
**Post date:** [December 10, 2025, 8:55pm UTC](https://forum.hhf.technology/t/crowdsec-manager-is-ignoring-my-dynamic-config-path-when-setting-whitelist-crowdsec-manager-discussion-28/4689/3 "2025-12-10T20:55:14Z")

</div>

**`Viceman256`** [commented on GitHub](https://github.com/hhftechnology/crowdsec_manager/discussions/28#discussioncomment-15224073):

> Per my comment, it’s already set via environment path. Why have the environment path and the GUI option if both are ignored?
> 
> ```
> - TRAEFIK_DYNAMIC_CONFIG=/app/config/traefik/rules/dynamic_config.yml
> 
> ```

---

<div class="post-metadata">

**Author:** ![system](https://forum.hhf.technology/user_avatar/forum.hhf.technology/system/32/6437_2.png) [@system](https://forum.hhf.technology/u/system)\
**Post date:** [January 26, 2026, 8:38pm UTC](https://forum.hhf.technology/t/crowdsec-manager-is-ignoring-my-dynamic-config-path-when-setting-whitelist-crowdsec-manager-discussion-28/4689/4 "2026-01-26T20:38:19Z")

</div>

**`Rustymage`** [replied in a thread on GitHub](https://github.com/hhftechnology/crowdsec_manager/discussions/28#discussioncomment-15610677) to **`Viceman256`** :

> Did you ever fix this?

---

<div class="post-metadata">

**Author:** ![system](https://forum.hhf.technology/user_avatar/forum.hhf.technology/system/32/6437_2.png) [@system](https://forum.hhf.technology/u/system)\
**Post date:** [January 26, 2026, 10:56pm UTC](https://forum.hhf.technology/t/crowdsec-manager-is-ignoring-my-dynamic-config-path-when-setting-whitelist-crowdsec-manager-discussion-28/4689/5 "2026-01-26T22:56:32Z")

</div>

**`Viceman256`** [replied in a thread on GitHub](https://github.com/hhftechnology/crowdsec_manager/discussions/28#discussioncomment-15611501) to **`Viceman256`** :

> Unfortunately not, I tried every possible configuration, it never worked. I ended up having to revert my traefik config to a standard config to match traditional setups.
