A proper solution to this problem is to disable W3TC’s X-Powered-By header for media files altogether. This way, you don’t need to edit nginx.conf by hand each time you change a w3tc setting.
Under “Performance” > “Browser Cache” > “Media & Other Files”, disable/uncheck “Set W3 Total Cache header”.
Anyone using nginx + podPress + W3TC will want to do this.