debian/package.nginx
debian/nginx
Lists files to be registered with the Nginx HTTP server. The file is interpreted as line separated list
of installation stanzas, where each entry consists of whitespace separated values conforming to the file
semantics below.
When this file is missing but the name of the package looks like a nginx module, the module load file and
its loading priority is automatically generated inferring from the package name. In this case, package-name.install or other mechanisms should be used for copying the .so library into the correct place.
FILESEMANTICS
Each line consists of a triple
typefile [arguments]
where the values are interpreted as follows:
type
Denotes the type of file to be installed. Recognized values are mod for Nginx modules.
file
Is interpreted as existing file name within the source package. No path expansion is effectuated. Just
like dh_install(1), dh_nginx can not rename files.
arguments
Is inrerpreted as optional arguments if any, currently not used.
MODULES
Modules are handled specially and are determined by the mod type. Modules must have a .conf suffix. In
that case the file is interpreted as module load file and is installed to /etc/nginx/modules-available.
If the file is ending with a .so suffix it is interpreted as actual module shared object and is installed
to the Nginx module directory, an optional numeric priority can be set as the last argument to handle
module dependencies.