title: How to change File name rquested url in Nginx
body: <p>I am trying to setup Nginx for serving images, If nginx receives the request:</p>
  
  <pre><code>http://&lt;serverip&gt;/images/image_name.jpeg 
  </code></pre>
  
  <p>If this file does not exist then I want to serve the different basic image, like: </p>
  
  <pre><code>http://&lt;serverip&gt;/images/image_name_base.jpeg 
  </code></pre>
  
  <p>I'm stuck here as I am new to nginx. </p>
  
  <p>Can anyone tell me how we can achieve this ?</p>