We are facing the same issue. File gets deleted but it holds the FD and disk
space is never released until we restart the nginx server. Most of the files
we is from proxy_temp_path directory. This is causing filesystem to go out
of space. We tried this with tmpfs and normal disk.