Opened 2 years ago

Closed 2 years ago

#2348 closed defect (fixed)

documentation uses incorrect quotes results in config file error

Reported by:… Owned by:
Priority: minor Milestone:
Component: documentation Version: 1.19.x
Keywords: Cc:…
uname -a: Linux 4.18.0-348.12.2.el8_5.x86_64
nginx -V: nginx version: nginx/1.14.1


The web page:

contains a few example configs for auth_basic

The examples use the wrong quote (ie. “” versus "" characters) - if you copy the examples into a config file nginx will not start - and complains of configuration errors.

The documentation says (in 2 places):

location /api {

auth_basic “Administrator’s Area”;


Note the quote characters used.

It should read instead:

location /api {

auth_basic "Administrator’s Area";


Change History (1)

comment:1 by Sergey Kandaurov, 2 years ago

Resolution: fixed
Status: newclosed

Fixed, thanks for report.

Note: See TracTickets for help on using tickets.