title: nginx rewrite / redirect
body: <p>Assuming I have 1000 URLs that look like these</p>
  
  <ul>
  <li><a href="http://www.mydomain.com/pet/cat/info" rel="nofollow">http://www.mydomain.com/pet/cat/info</a></li>
  <li><a href="http://www.mydomain.com/pet/dog/info" rel="nofollow">http://www.mydomain.com/pet/dog/info</a></li>
  <li>...</li>
  <li><a href="http://www.mydomain.com/pet/fish/info" rel="nofollow">http://www.mydomain.com/pet/fish/info</a></li>
  </ul>
  
  <p>Each URL should return a corresponding html file in the /usr/local/nginx/data directory.</p>
  
  <ul>
  <li>/usr/local/nginx/data/cat.html</li>
  <li>/usr/local/nginx/data/dog.html</li>
  <li>...</li>
  <li>/usr/local/nginx/data/fish.html</li>
  </ul>
  
  <p>What construct should I use to map all of them at once?
  Can you please provide a code snippet?</p>