# Nginx proxy manager recaptcha

**URL:** <https://discourse.crowdsec.net/t/nginx-proxy-manager-recaptcha/1239>\
**Category:** crowdsec\
**Created:** [April 5, 2023, 1:14pm UTC](https://discourse.crowdsec.net/t/nginx-proxy-manager-recaptcha/1239 "2023-04-05T13:14:53Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![mrnoname](https://dub1.discourse-cdn.com/flex013/user_avatar/discourse.crowdsec.net/mrnoname/32/573_2.png) [@mrnoname](https://discourse.crowdsec.net/u/mrnoname)\
**Post date:** [April 5, 2023, 1:14pm UTC](https://discourse.crowdsec.net/t/nginx-proxy-manager-recaptcha/1239/1 "2023-04-05T13:14:53Z")

</div>

Hello, just setup crowdsec for nginx proxy manager but i get the following error in the logs: “nginx: [error] [lua] crowdsec.lua:46: init(): error loading recaptcha plugin: captcha template file doesn’t exist, can’t use recaptcha”

---

<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:** [April 7, 2023, 8:46am UTC](https://discourse.crowdsec.net/t/nginx-proxy-manager-recaptcha/1239/2 "2023-04-07T08:46:18Z")

</div>

Guessing you are using nginx proxy manager? if so there an open issue to get fixed but the author hasnt replied

---

<div class="post-metadata">

**Author:** ![mrnoname](https://dub1.discourse-cdn.com/flex013/user_avatar/discourse.crowdsec.net/mrnoname/32/573_2.png) [@mrnoname](https://discourse.crowdsec.net/u/mrnoname)\
**Post date:** [April 7, 2023, 11:40am UTC](https://discourse.crowdsec.net/t/nginx-proxy-manager-recaptcha/1239/3 "2023-04-07T11:40:43Z")

</div>

Yes I’m using nginx proxy manager

---

<div class="post-metadata">

**Author:** ![mrnoname](https://dub1.discourse-cdn.com/flex013/user_avatar/discourse.crowdsec.net/mrnoname/32/573_2.png) [@mrnoname](https://discourse.crowdsec.net/u/mrnoname)\
**Post date:** [April 7, 2023, 2:11pm UTC](https://discourse.crowdsec.net/t/nginx-proxy-manager-recaptcha/1239/4 "2023-04-07T14:11:19Z")

</div>

can you link that post?

---

<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:** [April 12, 2023, 8:26am UTC](https://discourse.crowdsec.net/t/nginx-proxy-manager-recaptcha/1239/5 "2023-04-12T08:26:12Z")

</div>

> <https://github.com/baudneo/nginx-proxy-manager/issues/11>
>
> Hey! When supporting a user seems the templates location are different or bullse…ye does not scaffold them?
> 
> !\[image\](https://user-images.githubusercontent.com/23139695/221589790-bb637b20-0c19-409d-9c3f-1424f015514b.png)
> 
> For a quick fix you can exec into the container and run
> \`\`\`
> mkdir -p /var/lib/crowdsec/lua/templates/
> cd /var/lib/crowdsec/lua/templates/
> wget https://raw.githubusercontent.com/crowdsecurity/lua-cs-bouncer/main/templates/ban.html
> wget https://raw.githubusercontent.com/crowdsecurity/lua-cs-bouncer/main/templates/captcha.html
> \`\`\`
> 
> Please note this is only a temporary fix unless you have persisted any of the parent folders to host \`/var/lib/crowdsec/lua/templates/\`

---

<div class="post-metadata">

**Author:** ![mrnoname](https://dub1.discourse-cdn.com/flex013/user_avatar/discourse.crowdsec.net/mrnoname/32/573_2.png) [@mrnoname](https://discourse.crowdsec.net/u/mrnoname)\
**Post date:** [April 12, 2023, 8:40am UTC](https://discourse.crowdsec.net/t/nginx-proxy-manager-recaptcha/1239/6 "2023-04-12T08:40:20Z")

</div>

Thanks, I hope he updates the package  
Regards
