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...
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
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...