0
0
{
"name": "http-static",
"description": "Static file server",
"options": {
"port": {
"type": "number",
"description": "Port to listen on",
"env": "PORT",
"default": 8080
},
"serve-path": {
"type": "string",
"description": "Path to serve files from",
"env": "SERVE_PATH",
"default": "."
},
"log-level": {
"type": "string",
"description": "Minimum log level (debug, info, warn, error)",
"env": "MIN_LOG_LEVEL",
"default": "info"
},
"tls-cert-file": {
"type": "string",
"description": "PEM certificate to serve TLS with; requires tls-key-file",
"env": "TLS_CERT_FILE"
},
"tls-key-file": {
"type": "string",
"description": "PEM private key to serve TLS with; requires tls-cert-file",
"env": "TLS_KEY_FILE"
},
"port-file": {
"type": "string",
"description": "File the bound TCP port is written to once listening (used with port 0)",
"env": "PORT_FILE",
"default": "./port-bound-to"
}
}
}