title: How to rewrite nginx base file name?
body: <p>How to rewrite nginx base file name?</p>
  
  <p><a href="http://pic.test.com/view.php?filename=947284035_234601603334998.jpg" rel="nofollow">http://pic.test.com/view.php?filename=947284035_234601603334998.jpg</a></p>
  
  <p>to</p>
  
  <p><a href="http://pic.test.com/947284035_234601603334998" rel="nofollow">http://pic.test.com/947284035_234601603334998</a></p>
  
  <p>base file name</p>