Package: nginx-common
Version: 1.9.14-1
Severity: wishlist

Hi,

Could you consider adding some "include SOMEDIR/*.conf" to
debian/conf/sites-available/default inside the server
section?


Ideas:

1. Unless one replaces/overrides the default config, one has
   to edit it to add anything.  This isn't really helpful
   on upgrades.  Having a generic "include *.conf" will
   allow to put most edits in extra files.

2. After installing debian web applications, users usually
   expect them to be available directly on the default
   host.  At least this is often the case for apache or
   lighttpd.  With a generic include, those web applications
   could ship a 50-debian_package_name.conf and be sure to
   be available on the default host.

3. The directory SOMEDIR could be a subdirectory of the
   snippets directory: Especially the config snippets of
   (2) could be used to enable specific
   50-debian_package_name.conf on a dedicated virtualhost.

4. SOMEDIR could contain something like "common" or
   "default" to signify, that these snippets are included
   on common virtualhosts, or well, the default
   virtualhost.

5. I don't think, this needs some enable/disable feature to
   start with:
   All snippets are enabled only on the default
   virtualhost.
   None are enabled on other hosts, unless the admin
   explicitly includes either all or specific
   "common"/"default" snippets.


Cheers

    Elrond

Reply via email to