Update default path for websrv resources
This commit is contained in:
@@ -244,7 +244,7 @@ The web server back-end is using the [oai configuration module](Config/Rtusage).
|
||||
| `listenaddr` | `ipV4 address, ascii format` | "0.0.0.0" | local address the back-end is listening on |
|
||||
| `listenport` | `integer` | 8090 | port number the server is listening on |
|
||||
| debug | `integer` | 0 | When not 0, http requests headers and json objects dump are added to back-end traces |
|
||||
| fpath | character string | websrv | The path to on-disk http server resources . The default value matches the front-end installation when running the softmodem from the executables repository. |
|
||||
| fpath | character string | common/utils/websrv | The path to on-disk http server resources . The default value matches the front-end installation when running the softmodem from the executables repository. |
|
||||
| cert, key, rootca | `character string` | null | certificates and key used to trigger https protocol (not tested) |
|
||||
| | | | |
|
||||
|
||||
|
||||
@@ -56,7 +56,7 @@ paramdef_t websrvoptions[] = {
|
||||
{"listenport", "<local port>\n", 0, uptr : &(websrvparams.listenport), defuintval : 8090, TYPE_UINT, 0},
|
||||
{"priority", "<scheduling policy (0-99)\n", 0, iptr : &websrvparams.priority, defuintval : 0, TYPE_INT, 0},
|
||||
{"debug", "<debug level>\n", 0, uptr : &websrvparams.dbglvl, defuintval : 0, TYPE_UINT, 0},
|
||||
{"fpath", "<file directory>\n", 0, strptr : &websrvparams.fpath, defstrval : "websrv", TYPE_STRING, 0},
|
||||
{"fpath", "<file directory>\n", 0, strptr : &websrvparams.fpath, defstrval : "common/utils/websrv", TYPE_STRING, 0},
|
||||
{"cert", "<cert file>\n", 0, strptr : &websrvparams.certfile, defstrval : NULL, TYPE_STRING, 0},
|
||||
{"key", "<key file>\n", 0, strptr : &websrvparams.keyfile, defstrval : NULL, TYPE_STRING, 0},
|
||||
{"rootca", "<root ca file>\n", 0, strptr : &websrvparams.rootcafile, defstrval : NULL, TYPE_STRING, 0},
|
||||
|
||||
Reference in New Issue
Block a user