weserv / images

Source code of wsrv.nl (formerly images.weserv.nl), to be used on your own server(s).
https://wsrv.nl/
BSD 3-Clause "New" or "Revised" License
1.84k stars 187 forks source link

How to block domains #346

Closed hycday closed 1 year ago

hycday commented 2 years ago

Hi team,

I followed the install steps from https://github.com/weserv/images/blob/5.x/docker/README.md and install via docker worked like a charm.

However, I would like to protect myself from people using my server for their images... Could you please explain to a noobie how to only allow specific domains or block specific domains for the "url" parameter?

I use Ubuntu 20.04 TLS, with OpenLiteSpeed.

kleisauke commented 1 year ago

Duplicate of #314