Advertisement
Guest User

Untitled

a guest
Mar 27th, 2012
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.02 KB | None | 0 0
  1. location /featuredthumbs/ {
  2. try_files $uri ^featuredthumbs/http://(.*) /thumb2.php?h=35&q=90&src=http://$1 last;
  3. }
  4. location /minithumbs/ {
  5. try_files $uri ^minithumbs/http://(.*) /thumb2.php?h=65&q=90&src=http://$1 last;
  6. }
  7. location /thumbs/ {
  8. try_files $uri ^thumbs/http://(.*) /thumb2.php?h=90&q=90&src=http://$1 last;
  9. }
  10. location /bannerthumbs/ {
  11. try_files $uri ^bannerthumbs/http://(.*) /thumb2.php?h=116&q=90&src=http://$1 last;
  12. }
  13. location /h120/ {
  14. try_files $uri ^h120/http://(.*) /thumb2.php?h=120&q=90&src=http://$1 last;
  15. }
  16. location /w130/ {
  17. try_files $uri ^w130/http://(.*) /thumb2.php?w=130&q=90&src=http://$1 last;
  18. }
  19. location /h150/ {
  20. try_files $uri ^h150/http://(.*) /thumb2.php?h=150&q=90&src=http://$1 last;
  21. }
  22. location /featured/ {
  23. try_files $uri ^featured/http://(.*) /thumb2.php?h=250&q=90&src=http://$1 last;
  24. }
  25. location /megathumbs/ {
  26. try_files $uri ^megathumbs/http://(.*) /thumb2.php?w=290&q=90&src=http://$1 last;
  27. }
  28. location /featuredthumbs/ {
  29. try_files $uri ^featuredthumbs/(.*) /thumb.php?h=35&q=90&src=../full/$1 last;
  30. }
  31. location /minithumbs/ {
  32. try_files $uri ^minithumbs/(.*) /thumb.php?h=65&q=90&src=../full/$1 last;
  33. }
  34. location /thumbs/ {
  35. try_files $uri ^thumbs/(.*) /thumb.php?h=90&q=90&src=../full/$1 last;
  36. }
  37. location /bannerthumbs/ {
  38. try_files $uri ^bannerthumbs/(.*) /thumb.php?h=116&q=90&src=../full/$1 last;
  39. }
  40. location /h120/ {
  41. try_files $uri ^h120/(.*) /thumb.php?h=120&q=90&src=../full/$1 last;
  42. }
  43. location /w130/ {
  44. try_files $uri ^w130/(.*) /thumb.php?w=130&q=90&src=$1 last;
  45. }
  46. location /h150/ {
  47. try_files $uri ^h150/(.*) /thumb.php?h=150&q=90&src=../full/$1 last;
  48. }
  49. location /featured/ {
  50. try_files $uri ^featured/(.*) /thumb.php?h=250&q=90&src=../full/$1 last;
  51. }
  52. location /megathumbs/ {
  53. try_files $uri ^megathumbs/(.*) /thumb.php?w=130&q=90&src=../full/$1 last;
  54. }
  55. location /featuredthumbs/ {
  56. try_files $uri ^featuredthumbs/(.*) /thumb.php?w=290&q=90&src=../full/$1 last;
  57. }
  58. location / {
  59. try_files $uri .* /404.jpg last;
  60. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement