From surenkid, 1 Month ago, written in Plain Text.
Embed
  1. # rewrite for cloudflare hotlink-protection
  2. location ^~ /hotlink-ok/ {
  3.         if (!-e $request_filename) {
  4.                 rewrite ^/hotlink\-ok/(.*) /$1 last;
  5.         }
  6. }