DEV Community

Discussion on: Nginx: Everything about proxy_pass

Collapse
 
sansnom profile image
sansnom

I was completely clueless why the proxy_pass wasn't working with the "set directive". Thanks for sharing. :)

In fact, the "set directive" is also the only way to force nginx to resolve the domain name again (using the parameters defined in the resolver). Otherwise, it will be cached forever...