Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- location /featuredthumbs/ {
- try_files $uri ^featuredthumbs/http://(.*) /thumb2.php?h=35&q=90&src=http://$1 last;
- }
- location /minithumbs/ {
- try_files $uri ^minithumbs/http://(.*) /thumb2.php?h=65&q=90&src=http://$1 last;
- }
- location /thumbs/ {
- try_files $uri ^thumbs/http://(.*) /thumb2.php?h=90&q=90&src=http://$1 last;
- }
- location /bannerthumbs/ {
- try_files $uri ^bannerthumbs/http://(.*) /thumb2.php?h=116&q=90&src=http://$1 last;
- }
- location /h120/ {
- try_files $uri ^h120/http://(.*) /thumb2.php?h=120&q=90&src=http://$1 last;
- }
- location /w130/ {
- try_files $uri ^w130/http://(.*) /thumb2.php?w=130&q=90&src=http://$1 last;
- }
- location /h150/ {
- try_files $uri ^h150/http://(.*) /thumb2.php?h=150&q=90&src=http://$1 last;
- }
- location /featured/ {
- try_files $uri ^featured/http://(.*) /thumb2.php?h=250&q=90&src=http://$1 last;
- }
- location /megathumbs/ {
- try_files $uri ^megathumbs/http://(.*) /thumb2.php?w=290&q=90&src=http://$1 last;
- }
- location /featuredthumbs/ {
- try_files $uri ^featuredthumbs/(.*) /thumb.php?h=35&q=90&src=../full/$1 last;
- }
- location /minithumbs/ {
- try_files $uri ^minithumbs/(.*) /thumb.php?h=65&q=90&src=../full/$1 last;
- }
- location /thumbs/ {
- try_files $uri ^thumbs/(.*) /thumb.php?h=90&q=90&src=../full/$1 last;
- }
- location /bannerthumbs/ {
- try_files $uri ^bannerthumbs/(.*) /thumb.php?h=116&q=90&src=../full/$1 last;
- }
- location /h120/ {
- try_files $uri ^h120/(.*) /thumb.php?h=120&q=90&src=../full/$1 last;
- }
- location /w130/ {
- try_files $uri ^w130/(.*) /thumb.php?w=130&q=90&src=$1 last;
- }
- location /h150/ {
- try_files $uri ^h150/(.*) /thumb.php?h=150&q=90&src=../full/$1 last;
- }
- location /featured/ {
- try_files $uri ^featured/(.*) /thumb.php?h=250&q=90&src=../full/$1 last;
- }
- location /megathumbs/ {
- try_files $uri ^megathumbs/(.*) /thumb.php?w=130&q=90&src=../full/$1 last;
- }
- location /featuredthumbs/ {
- try_files $uri ^featuredthumbs/(.*) /thumb.php?w=290&q=90&src=../full/$1 last;
- }
- location / {
- try_files $uri .* /404.jpg last;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement