
For static builds we still need to manually reorder $HTTP_MODULES, and we cannot source "auto/module" like the new-style configuration mode needs, because the "auto/module" snippet modifies $HTTP_MODULES itself, but ignores the new $ngx_module_order variable when doing a static build. Fortunately, the old-style way of configuring the module is still working in all Nginx versions for statically built modules, so we can keep using that for static builds. This fixes issue #46.
7 lines
247 B
Bash
7 lines
247 B
Bash
#! /bin/bash
|
|
cat <<---
|
|
This test ensures that the "index.html" is returned instead of a directory
|
|
listing when fetching a directory which contains an index file.
|
|
--
|
|
nginx_start
|
|
diff -u "${TESTDIR}/has-index/index.html" <( fetch /has-index/ ) 1>&2
|