Mobile app version of vmapp.org
Login or Join
Kristi941

: Cyberx86's answer worked kinda well for me, but I had to remove the proxy_pass line, get rid of a dollar sign, and add some semicolons. The addition to my config is: location ~ .(gif|jpg|png)

@Kristi941

cyberx86's answer worked kinda well for me, but I had to remove the proxy_pass line, get rid of a dollar sign, and add some semicolons.
The addition to my config is:

location ~ .(gif|jpg|png) {
try_files $uri @img_proxy ;
}

location @img_proxy {
rewrite ^(.*)$ /tools/image/?url=;
}

10% popularity Vote Up Vote Down


Login to follow query

More posts by @Kristi941

0 Comments

Sorted by latest first Latest Oldest Best

Back to top | Use Dark Theme