title: 502 Bad Gateway - NGINX no resolver defined to resolve
body: <p>I have created a proxy pass for multi URLs.</p>
  
  <pre><code>    listen 80;
      listen [::]:80;
  
      server_name ~^(.*)redzilla\.11\.75\.65\.21\.xip\.io$;
  
              location / {
                      set $instname $1;
                      proxy_pass http://${instname}redzilla.localhost:3000;
              }
  </code></pre>
  
  <p>When I call to this service using chrome, It was triggered 502 error.</p>
  
  <p><strong><a href="http://test.redzilla.11.75.65.21.xip.io/" rel="noreferrer">http://test.redzilla.11.75.65.21.xip.io/</a></strong></p>
  
  <p>I put below location tag by hard coding the URL.</p>
  
  <pre><code>            location /redzilla {
                      proxy_pass http://test.redzilla.localhost:3000;
              }
  </code></pre>
  
  <p>Then It is working for only above URL. I want to know how to create proxy pass for multiple URL within single location tag. ( please note : URL pattern is *.redzilla.localhost:3000 , * ( star ) represent any word)</p>