Avoid exposing internal port and unnecessary endpoints
All checks were successful
Check usage of free licenses / check-licenses (pull_request) Successful in 40s
Add copyright notice / copyright_notice (pull_request) Successful in 1m8s
Run unit tests / unit_tests (pull_request) Successful in 1m40s

This commit is contained in:
Manuel Bustillo 2024-12-01 20:01:00 +01:00
parent 5f01741943
commit 71046b9a1c
2 changed files with 3 additions and 3 deletions

View File

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

View File

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