“Too Many Redirects” in Nginx: Debugging Infinite Loops