Require a LibreCaptcha challenge for the signup action #157

Merged
bustikiller merged 4 commits from libre-captcha into main 2024-12-01 19:03:56 +00:00
2 changed files with 3 additions and 3 deletions
Showing only changes of commit 71046b9a1c - Show all commits

View File

@ -41,7 +41,7 @@ services:
volumes: volumes:
- "./tmp/libre-captcha-data:/lc-core/data" - "./tmp/libre-captcha-data:/lc-core/data"
ports: ports:
- "8888:8888" - 8888
nginx: nginx:
image: nginx:latest image: nginx:latest
ports: ports:

View File

@ -12,8 +12,8 @@ server {
proxy_set_header Host $http_host; proxy_set_header Host $http_host;
} }
location /captcha/ { location /captcha/v2/media/ {
proxy_pass http://libre-captcha:8888/; proxy_pass http://libre-captcha:8888/v2/media/;
proxy_set_header Host $http_host; proxy_set_header Host $http_host;
} }