| ▲ | parasti an hour ago | |||||||||||||||||||
I would fault nginx here instead. Tilde-suffixed backups is an old convention used by vim and emacs among others. Definitely older than nginx. | ||||||||||||||||||||
| ▲ | sshine 43 minutes ago | parent [-] | |||||||||||||||||||
The ~foo as backup convention is not part of any standard. Using hidden files is a stronger convention, e.g. .foo.swp or .foo~. But nginx's sites-enabled also doesn't filter those. It's a very simple mechanism that assumes what you put in that directory is a website configuration. Adding backup files here and there is considered spam, no matter how old it is. It's the second thing I fix in either Vim or Emacs: Put backup files in a central location. (The first is proper indentation/spacing rules.) | ||||||||||||||||||||
| ||||||||||||||||||||