Avoid exposing internal port and unnecessary endpoints
This commit is contained in:
parent
5f01741943
commit
71046b9a1c
@ -41,7 +41,7 @@ services:
|
||||
volumes:
|
||||
- "./tmp/libre-captcha-data:/lc-core/data"
|
||||
ports:
|
||||
- "8888:8888"
|
||||
- 8888
|
||||
nginx:
|
||||
image: nginx:latest
|
||||
ports:
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user