Hello Milo,
On Tue, Mar 07, 2017 at 10:29:27AM +0100, Milo Casagrande wrote:
Package: nginx-extras
Version: 1.10.3-1~bpo8+1
After updating nginx-extras (and nginx) from jessie-backports, nginx
stopped working correctly.
Restarting the service, or running "nginx -t", the error message I get is:
Mar 07 10:05:25 debian nginx[1183]: nginx: [emerg] unknown directive
"fancyindex" in /etc/nginx/sites-enabled/api.kernelci.org:24
Mar 07 10:05:25 debian nginx[1183]: nginx: configuration file
/etc/nginx/nginx.conf test failed
If I remove references to the "fancyindex" directive, this is the error I get:
nginx: [emerg] unknown directive "more_set_headers" in
/etc/nginx/sites-enabled/api.kernelci.org:52
nginx: configuration file /etc/nginx/nginx.conf test failed
I rely on "Fancy Index" and "Headers More" modules that should be
available via the nginx-extras package.
The last working version I had was 1.9 (can't remember the full version).
This is likely caused by the convertion to dynamic modules. The
migration should be transparent unless you have manually edited
nginx.conf at some point. If that's the case you need to manually
include the module directory files, there is a NEWS entry about that,
see /usr/share/doc/nginx-common/NEWS.Debian.gz.
Can you please check that you have the following line is present
near the top of your /etc/nginx/nginx.conf file?
include /etc/nginx/modules-enabled/*.conf;