Advertisement
niammuddin

rewrite nginx

Jul 26th, 2017
236
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Nginx 0.23 KB | None | 0 0
  1.  
  2.  
  3.  
  4.     if (!-e $request_filename){
  5.     rewrite ^/link/([^/]*)-([^/]*)/([^/]*)$ /wp-content/plugins/StupidPie/view/player/download.php?yttitle=$1&ytid=$2;
  6.     rewrite ^/link/([^/]*)$ http://$http_host/link/$1/ permanent;
  7.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement