SHARE
TWEET

Untitled

a guest Jan 23rd, 2020 74 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  location ~ ^/images/([avatar|building|block|offer|floor]+)(.+\.[jpg|jpeg|gif|png]+)$ {
  2.  
  3.             expires 1y;
  4.  
  5.             valid_referers none blocked server_names ~\.site\.loc ~\.google\. ~\.yandex\.;
  6.  
  7.             if ($invalid_referer) {
  8.                 return 403;
  9.             }
  10.  
  11.             root $root;
  12.  
  13.             try_files /upload/preview/$1$2 /upload/original$2 /index.php$is_args$args;
  14.  
  15.             error_page 404 403 415 /blank.gif;
  16.         }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top