Sounds familiar, edit files elsewhere and overwrite them for nginx's destination, any basic editor has macro support, just make a macro that does a copy after save. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,243333,243371#msg-243371