OpenBSD now provides an nginx.conf(5) manual page and I love this,
thanks!

But it ends with an EXAMPLES section which only deals with some
horrible use of whitespace, which is "not recommended".  I don't
get it.  This manpage is a relief, but it ends in a really sad
and not really useful way...  I'd rather see a mention that this
manpage is an OpenBSD improvement!

Index: nginx.conf.5
===================================================================
RCS file: /cvs/src/usr.sbin/nginx/man/nginx.conf.5,v
retrieving revision 1.6
diff -u -p -r1.6 nginx.conf.5
--- nginx.conf.5        16 Dec 2013 11:19:03 -0000      1.6
+++ nginx.conf.5        11 Jan 2014 15:08:32 -0000
@@ -8722,17 +8722,8 @@ text/html.
 .El
 .Sh FILES
 .Pa /etc/nginx/nginx.conf
-.Sh EXAMPLES
-The following is a valid configuration file, but such creative use
-of whitespace is not recommended:
-.Bd -offset indent -literal
-worker_processes #whitespace is required here
-auto
-#a comment is allowed here
-;events{}user #whitespace is again required here
-www
-#and here, too
-www;# but not here
-.Ed
 .Sh SEE ALSO
 .Xr nginx 8
+.Sh HISTORY
+This manual page first appeared in
+.Ox 5.5 .

Reply via email to