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.