commit d2b3a7d
default
·
2024-08-05 04:21:55 +0000 UTC
parent 3911aec
Updated documentation.
1 files changed,
+7,
-7
+7,
-7
1@@ -58,6 +58,8 @@ specially the host name it will run under, the local network address
2 and port
3 .Nm
4 will listen to, the optional path prefix and possibly other things.
5+Since version 2.57, if the 'network address' starts with /, it's
6+assumed to be a UNIX-like socket.
7 .Pp
8 You can launch the
9 .Nm
10@@ -66,9 +68,6 @@ process by running
11 snac httpd $HOME/snac-data
12 .Ed
13 .Pp
14-Use a web browser to connect to the specified address and port. You
15-should see a greeting page.
16-.Pp
17 Log messages are sent to the standard error stream. By default, only
18 relevant information is written there. You can increase the debugging
19 level by editing the 'dbglevel' field in the
20@@ -76,7 +75,7 @@ level by editing the 'dbglevel' field in the
21 file or by setting a numeric value between 0 and 3 to the DEBUG
22 environment variable, see below.
23 .Pp
24-If you operate a Linux systemd-enabled system, OpenBSD or FreeBSD, there are
25+If you operate a Linux systemd-enabled system, OpenBSD, FreeBSD or NetBSD, there are
26 startup scripts and configuration data in the
27 .Pa examples
28 directory.
29@@ -128,9 +127,10 @@ The host name.
30 .It Ic prefix
31 The URL path prefix.
32 .It Ic address
33-The listen network address.
34+The listen network address. If it starts with /, it's assumed to be
35+a UNIX-like socket instead.
36 .It Ic port
37-The listen network port.
38+The listen network port (unused if address is a UNIX socket).
39 .It Ic dbglevel
40 The debug level. An integer value, being 0 the less verbose (the default).
41 .It Ic layout
42@@ -551,7 +551,7 @@ fastcgi_pass localhost:8001;
43 .Pp
44 The only thing to change on
45 .Nm
46-size is to the set 'fastcgi' value to true in
47+is to the set 'fastcgi' value to true in
48 .Pa server.json .
49 .Pp
50 Further, using the FastCGI interface allows a much simpler configuration