title: nginx case insensitive url redirection
body: <p>I want to do case insensitive url redirection in nginx 
  Below is my code. </p>
  
  <pre><code>location ~* WapsiteDataFetch{
        rewrite  WapsiteDataFetch(.*) http://images.xample.com/xyz/images$1 permanent;
      }
  </code></pre>
  
  <p>In the above case ,</p>
  
  <p><code>www.example.com/WapsiteDataFetch</code> is redirected properly to <code>http://images.xample.com/xyz/images</code>
  however, the url <code>"www.example.com/WAPSITEDATAFETCH"</code> is not redirected properly.</p>
  
  <p>Even if I Change a single character it is giving 404 error.</p>
  
  <p>I have tried many blogs and seen many post from stack overflow and many of them have suggested "~*" but in my case it is  not helping me.</p>
  
  <p>please help me as I am  stuck on this for a couple of days.</p>