diff --git a/docker-compose.yml b/docker-compose.yml index 18050d1..64b54c7 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -41,7 +41,7 @@ services: volumes: - "./tmp/libre-captcha-data:/lc-core/data" ports: - - "8888:8888" + - 8888 nginx: image: nginx:latest ports: diff --git a/nginx.conf b/nginx.conf index 6371bdd..58c2bb9 100644 --- a/nginx.conf +++ b/nginx.conf @@ -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; }