If you please, guys, help me with this I want who visit this URL https://123.com/storage/app/profiles/Ar.BB_1585493889.png?w=200&h=200
With the parameters in the end which is w= and h= to do a proxy pass to him only if the URL associated with the two parameters w= and h=. I tried to do this but it doesn't work
> $1 = for the file name which is Ar.BB_1585493889.png
> $2 = for width(w=)
> $3 = for height (h=)
location ~* ^/storage/app/profiles/(.*)?w\=(.*)\&h\=(.*) {
proxy_pass http:/123.com:8888/unsafe/$2x$3/smart/https://123.com/storage/app/profiles/$1;
}
Your help much appreciated.