Hi Daniel,

I'm pretty sure I added this change to fix a bug where users were
complaining about nginx was not installing files /var/www/nginx-default.
I think that the reference was lost in the changelogs.

Anyways, I do think it is important to install the files in such
directory, due to the document root in the default config of nginx
references those path/files. Similar behavior is in lighttpd. Now, as
I've just read in Lintian report it says

"As an exception, packages are permitted to create the /var/www
directory due to its past history as the default document root, but
should at most copy over a default file in postinst for a new install"
(this is what lighttpd does).

So I would go for changing the installation of these files to postinst.
However, I would like to hear your thoughts about this?

Thanks.

-- 
nginx should not install into /var/www/nginx-default (Debian policy)
https://bugs.launchpad.net/bugs/547267
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to