I think i got it. I had to add the following directive under the server { } heading: recursive_error_pages on; I'm checking the access logs, and I'm seeing the third one now (ipA : ipB : ipC), and it's also returning the file correctly. I hope this is the right way. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,229402,229405#msg-229405