> > I've now verified that this is expected behavior. Regardless of whether we > use /usr/share or /var/www, we have to expectation to retain user changes > to > index.html. We won't be making any change to preserve user changes to > anything > outside of /etc.
That is, of course, your call as maintainer. I do still feel we're not being responsible with our users' data here. Even though they shouldn't have been messing with /usr/share, a quick internet search for "/usr/share/nginx/html/index.html" reveals plenty of people doing just that. Arch's wiki even appears to encourage it: "It is assumed that you use the default location for documents (/usr/share/nginx/html). If that is not the case, substitute your path instead." - https://wiki.archlinux.org/index.php/Nginx#Configuring Would you consider a patch that backs the file up when it's changed? Shouldn't be a big change: we don't need to go to great lengths to support this situation, but just not losing the file would be nice :) Yours, Arnout