Skip to content

Commit 28cc920

Browse files
committed
docs/man/upsset.conf.txt: document recommendations about CGI timeout [#3219]
Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
1 parent 0c06dc0 commit 28cc920

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

docs/man/upsset.conf.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,15 @@ Revise "Handler Mappings" for the `cgi-bin` subdirectory, that it includes
145145
"CGI-exe" with "Path `*.exe`" and "State Enabled" (if not, edit the entry,
146146
press "Request Restrictions", and tick "Access/Execute" there).
147147

148+
If the (virtual) server is dedicated to NUT CGI programs, you may also want
149+
to visit the "CGI" icon, and change Behavior/Timeout to a few minutes or even
150+
seconds (and Apply the change), so in case of any breakage in the NUT CGI
151+
programs, you would not stare at a blank page and not know if the server
152+
is alive. This recommendation may change later if support for "tracking" of
153+
device-side completion of posted commands or settings would be implemented;
154+
currently the linkman:upsset[8] CGI client only gets and relays confirmation
155+
that the NUT data server linkman:upsd[8] received the request.
156+
148157
In the NUT configuration directory, update the linkman:hosts.conf[5] and
149158
`upsset.conf` files as appropriate, (optionally adapt) and rename the
150159
`upsstats.html.sample` and `upsstates-single.html.sample` files to not

0 commit comments

Comments
 (0)