Dockerfile
For self-hosted instances, you can remove those weserv_deny_ip nginx directives from your nginx.conf.
FROM ghcr.io/weserv/images:5.x
RUN sed -i '/weserv_deny_ip/d' /etc/nginx/nginx.conf
Usage
docker build -t weserv/images .
docker run -d -p 8080:80 --shm-size=1gb --name=weserv weserv/images
Links
Website: https://wsrv.nl/
Github: https://github.com/weserv/images
Docker: https://github.com/weserv/images/tree/5.x/docker#readme
Fix for “IP address blocked by policy” issue: https://github.com/weserv/images/issues/440
Top comments (0)