README.rst: Fix typos and other minor edits

pull/145/head
Ryan Schmidt 3 years ago committed by Adrian Perez
parent 60e39e0929
commit 3d47d0d6b1

@ -13,9 +13,9 @@ the built-in `autoindex <http://wiki.nginx.org/NginxHttpAutoindexModule>`__
module does, but adding a touch of style. This is possible because the module module does, but adding a touch of style. This is possible because the module
allows a certain degree of customization of the generated content: allows a certain degree of customization of the generated content:
* Custom headers. Either local or stored remotely. * Custom headers, either local or stored remotely.
* Custom footers. Either local or stored remotely. * Custom footers, either local or stored remotely.
* Add you own CSS style rules. * Add your own CSS style rules.
* Allow choosing to sort elements by name (default), modification time, or * Allow choosing to sort elements by name (default), modification time, or
size; both ascending (default), or descending. size; both ascending (default), or descending.
@ -113,8 +113,8 @@ achieved using the module:
`@TheInsomniac <https://github.com/TheInsomniac>`__. Uses custom header and `@TheInsomniac <https://github.com/TheInsomniac>`__. Uses custom header and
footer. footer.
* `Theme <https://github.com/Naereen/Nginx-Fancyindex-Theme>`__ by * `Theme <https://github.com/Naereen/Nginx-Fancyindex-Theme>`__ by
`@Naereen <https://github.com/Naereen/>`__. Uses custom header and footer, the `@Naereen <https://github.com/Naereen/>`__. Uses custom header and footer. The
header includes search field to filter by filename using JavaScript. header includes a search field to filter by file name using JavaScript.
* `Theme <https://github.com/fraoustin/Nginx-Fancyindex-Theme>`__ by * `Theme <https://github.com/fraoustin/Nginx-Fancyindex-Theme>`__ by
`@fraoustin <https://github.com/fraoustin>`__. Responsive theme using `@fraoustin <https://github.com/fraoustin>`__. Responsive theme using
Material Design elements. Material Design elements.
@ -168,7 +168,7 @@ fancyindex_exact_size
:Default: fancyindex_exact_size on :Default: fancyindex_exact_size on
:Context: http, server, location :Context: http, server, location
:Description: :Description:
Defines how to represent file sizes in the directory listing; either Defines how to represent file sizes in the directory listing: either
accurately, or rounding off to the kilobyte, the megabyte and the accurately, or rounding off to the kilobyte, the megabyte and the
gigabyte. gigabyte.
@ -181,13 +181,13 @@ fancyindex_footer
Specifies which file should be inserted at the foot of directory listings. Specifies which file should be inserted at the foot of directory listings.
If set to an empty string, the default footer supplied by the module will If set to an empty string, the default footer supplied by the module will
be sent. The optional parameter indicates whether the *path* is to be be sent. The optional parameter indicates whether the *path* is to be
treated as an URI to load using a *subrequest* (the default), or whether treated as a URI to load using a *subrequest* (the default), or whether
it refers to a *local* file. it refers to a *local* file.
.. note:: Using this directive needs the ngx_http_addition_module_ built .. note:: Using this directive needs the ngx_http_addition_module_ built
into Nginx. into Nginx.
.. warning:: When inserting custom header/footer a subrequest will be .. warning:: When inserting custom a header/footer, a subrequest will be
issued so potentially any URL can be used as source for them. Although it issued so potentially any URL can be used as source for them. Although it
will work with external URLs, only using internal ones is supported. will work with external URLs, only using internal ones is supported.
External URLs are totally untested and using them will make Nginx_ block External URLs are totally untested and using them will make Nginx_ block
@ -204,7 +204,7 @@ fancyindex_header
Specifies which file should be inserted at the head of directory listings. Specifies which file should be inserted at the head of directory listings.
If set to an empty string, the default header supplied by the module will If set to an empty string, the default header supplied by the module will
be sent. The optional parameter indicates whether the *path* is to be be sent. The optional parameter indicates whether the *path* is to be
treated as an URI to load using a *subrequest* (the default), or whether treated as a URI to load using a *subrequest* (the default), or whether
it refers to a *local* file. it refers to a *local* file.
.. note:: Using this directive needs the ngx_http_addition_module_ built .. note:: Using this directive needs the ngx_http_addition_module_ built
@ -216,7 +216,7 @@ fancyindex_show_path
:Default: fancyindex_show_path on :Default: fancyindex_show_path on
:Context: http, server, location :Context: http, server, location
:Description: :Description:
Whether to output or not the path and the closing </h1> tag after the header. Whether or not to output the path and the closing </h1> tag after the header.
This is useful when you want to handle the path displaying with a PHP script This is useful when you want to handle the path displaying with a PHP script
for example. for example.
@ -229,7 +229,7 @@ fancyindex_show_dotfiles
:Default: fancyindex_show_dotfiles off :Default: fancyindex_show_dotfiles off
:Context: http, server, location :Context: http, server, location
:Description: :Description:
Whether to list files that are proceeded with a dot. Normal convention is to Whether to list files that are preceded with a dot. Normal convention is to
hide these. hide these.
fancyindex_ignore fancyindex_ignore
@ -238,8 +238,8 @@ fancyindex_ignore
:Default: No default. :Default: No default.
:Context: http, server, location :Context: http, server, location
:Description: :Description:
Specifies a list of file names which will be not be shown in generated Specifies a list of file names which will not be shown in generated
listings. If Nginx was built with PCRE support strings are interpreted as listings. If Nginx was built with PCRE support, strings are interpreted as
regular expressions. regular expressions.
fancyindex_hide_symlinks fancyindex_hide_symlinks
@ -256,7 +256,7 @@ fancyindex_hide_parent_dir
:Default: fancyindex_hide_parent_dir off :Default: fancyindex_hide_parent_dir off
:Context: http, server, location :Context: http, server, location
:Description: :Description:
When enabled, it will not show parent directory. When enabled, it will not show the parent directory.
fancyindex_localtime fancyindex_localtime
~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~

Loading…
Cancel
Save