imgproxy
imgproxy copied to clipboard
Asking for Help: Nginx Configuration for Rewrites
Hello guys,
I would like to host imgproxy and have several websites serve optimized images. As far as I understand I would need to change the original URLs to point to the imgproxy instance and fetch the image from the origin. What is the recommended way of implementing this? I so far was unable to figure out how to create a nginx rewrite rule that simply works. Could someone help me out?
Here's an haproxy path-rewrite:
^(.*) /_/plain/http://origin.address/\1
Thanks but I am just looking to implement this for WordPress sites that I'm running on nginx. There must be a way to easily rewrite the requests or am I mistaken?