case sensitive locations on macos x

Igor Sysoev igor at
Mon Nov 30 18:00:10 MSK 2009

On Mon, Nov 30, 2009 at 09:52:00AM -0500, dobe wrote:

> hi all
> we found out, that at least on macosx nginx 0.7.64 the location directives are not case sensitive, in particular the exact match locations.

Yes, since a typical MacOSX file system is case insensitive.

> is there any way to get the same behaviour as on linux where those directives are case sensitive (e.g. through a compile time option?)

./configure --with-cc-opt="-D NGX_HAVE_CASELESS_FILESYSTEM=0"

Igor Sysoev

More information about the nginx mailing list