Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

Re: Noob question - Root vs Alias and image_filter

$
0
0
Ok, I have resolved my problem about resize.
The solution is to add a location to the path. Like that :


location ~ /media/test/(.*) {
image_filter resize 50 10;
proxy_pass http://127.0.0.1/my_image/$1
}

location /my_image {
alias /var/www/html/toto/;
}

Viewing all articles
Browse latest Browse all 4759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>