Opened 4 years ago

Closed 4 years ago

#2091 closed enhancement (wontfix)

The description of directive "index" is inaccurate.

Reported by: zhoushulin1992@… Owned by:
Priority: minor Milestone:
Component: documentation Version: 1.18.x
Keywords: Cc: zhoushulin1992@…
uname -a: Linux xlarge 4.15.0-72-generic #81-Ubuntu SMP Tue Nov 26 12:20:02 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
nginx -V: nginx version: nginx/1.18.0
built by gcc 7.4.0 (Ubuntu 7.4.0-1ubuntu1~18.04.1)
configure arguments: --prefix=/usr/local/nginx --with-pcre=/root/Downloads/pcre-8.43


In the document of directive "index" in, it says that "The last element of the list can be a file with an absolute path". However, it should be "Only the last element of the list can be a file with an absolute path", the original expression is not accurate. It is better to adjust the expression.

Change History (1)

comment:1 by Maxim Dounin, 4 years ago

Resolution: wontfix
Status: newclosed

Thank you for your feedback. It is believed that the current wording is correct: it only lists absolute path as allowed for the last parameter. Emphasizing it additionally with the "only" word is hardly needed. Especially keeping in mind that from semantic point of view an absolute path means an unconditional redirect to the file, so it does not make sense to use an absolute path in other parameters.

Note: See TracTickets for help on using tickets.