How to prevent nginx from locking files on mounted samba partition in Centos 6
SOLVED: I just reviewed my nginx.conf file. It appears the "open_file_cache" feature is what is causing the lock and deleted files. When I set this option to open_file_cache off;, My problem is resolved.
The developers of nginx also closed my bug report saying that I shouldn't use open_file_cache if I want to edit the files in Windows. They don't see this as a bug.