blob: c7ee6f6ec8d0fa29b44e688909f2539bb856abde [file] [log] [blame]
hilata6ee6e072014-04-20 17:10:18 -05001nfd-status-http-server
2======================
3
Davide Pesavento9f6a7d92020-10-06 15:21:48 -04004Synopsis
5--------
hilata6ee6e072014-04-20 17:10:18 -05006
Davide Pesavento543b1522024-06-25 17:00:32 -04007| **nfd-status-http-server** [**-a**\|\ **\--address** *address*] [**-p**\|\ **\--port** *port*] \
8 [**-f**\|\ **\--workdir** *dir*] [**-r**\|\ **\--robots**] [**-v**\|\ **\--verbose**]
9| **nfd-status-http-server** **-h**\|\ **\--help**
10| **nfd-status-http-server** **-V**\|\ **\--version**
hilata6ee6e072014-04-20 17:10:18 -050011
12Description
13-----------
14
Davide Pesavento543b1522024-06-25 17:00:32 -040015:program:`nfd-status-http-server` is a daemon that enables the retrieval of NFD's status over HTTP.
hilata6ee6e072014-04-20 17:10:18 -050016
17Options
18-------
19
Davide Pesavento543b1522024-06-25 17:00:32 -040020.. option:: -a <address>, --address <address>
hilata6ee6e072014-04-20 17:10:18 -050021
Davide Pesavento543b1522024-06-25 17:00:32 -040022 HTTP server IP address (default is 127.0.0.1).
hilata6ee6e072014-04-20 17:10:18 -050023
Davide Pesavento543b1522024-06-25 17:00:32 -040024.. option:: -p <port>, --port <port>
Davide Pesavento9f6a7d92020-10-06 15:21:48 -040025
Davide Pesavento543b1522024-06-25 17:00:32 -040026 HTTP server port number (default is 6380).
hilata6ee6e072014-04-20 17:10:18 -050027
Davide Pesavento543b1522024-06-25 17:00:32 -040028.. option:: -f <dir>, --workdir <dir>
29
30 Set the server's working directory.
31
32.. option:: -r, --robots
33
34 Enable HTTP robots to crawl (disabled by default).
35
36.. option:: -v, --verbose
37
38 Enable verbose mode.
39
40.. option:: -h, --help
41
42 Print help message and exit.
43
44.. option:: -V, --version
45
46 Show version information and exit.
hilata6ee6e072014-04-20 17:10:18 -050047
48Examples
49--------
50
Davide Pesavento543b1522024-06-25 17:00:32 -040051``nfd-status-http-server -a 0.0.0.0 -p 80``
52 Start NFD's HTTP status server on all IPv4 interfaces, port 80 (requires privileges).
hilata6ee6e072014-04-20 17:10:18 -050053
Davide Pesavento543b1522024-06-25 17:00:32 -040054``nfd-status-http-server -a :: -p 8000``
55 Start NFD's HTTP status server on all IPv6 interfaces, port 8000.