Nginx - How to only allow image requests

Francis Daly francis at daoine.org
Fri May 7 13:07:37 UTC 2021


On Thu, May 06, 2021 at 01:45:39PM -0400, amenjava wrote:

Hi there,

> I am setting up a proxy that accepts only image requests and sends them to
> upstream (internet).

What's an image request?

As in: if you are given one specific request, how do you know whether
or not you consider it to be an image request?

If you can answer that, then the matching nginx config might be clearer.

Good luck with it,

	f
-- 
Francis Daly        francis at daoine.org


More information about the nginx mailing list