title: nginx: How to keep double slashes in urls
body: <p>I have web service which takes several filter parameters, something like :</p>
  
  <pre><code>http://mydomain.com/filter1/value1/filter2/value2/filter3/value3
  </code></pre>
  
  <p>The tricky thing is sometimes some of the filter variables are absent, so urls as such could be passed to this service: </p>
  
  <pre><code>http://mydomain.com/filter1//filter2//filter3/value3
  </code></pre>
  
  <p>Now I need to configure my nginx (or fastcgi) to keep the double slashes. Currently it's replacing double slashes to single ones. I'm new to nginx &amp; fastcgi configuration and I don't know how to do that. I captured the request_uri from my php script when I requested the second url, and I got </p>
  
  <pre><code>http://mydomain.com/filter1/filter2/filter3/value3
  </code></pre>
  
  <p>Plz help me. Thanks in advance.</p>