I see both proxy and proxy_redirect - seems to me you should have one or the other.
How are your symbolic names ANVILSERVER and MYSERVER defined? I get the feeling you might be on Windows. My stuff is all Linux and the nginx reverse proxy requires the link from name to IP to be made in /etc/hosts