forked from mongoose-os-libs/http-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mos.yml
36 lines (33 loc) · 1.08 KB
/
mos.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
author: mongoose-os
description: HTTP server for Mongoose OS
type: lib
version: 1.0
manifest_version: 2017-09-29
sources:
- src
includes:
- include
config_schema:
- ["http", "o", {title: "HTTP Server"}]
- ["http.enable", "b", true, {title: "Enable HTTP Server"}]
- ["http.listen_addr", "s", "80", {title: "Listening port / address"}]
- ["http.document_root", "s", "/", {title: "Root for serving files. Setting to empty disables file serving."}]
- ["http.ssl_cert", "s", {title: "Turn on SSL on the listener, use this cert"}]
- ["http.ssl_key", "s", {title: "SSL key to use"}]
- ["http.ssl_ca_cert", "s", {title: "Verify clients this CA bundle"}]
- ["http.upload_acl", "s", "*", {title: "Upload file ACL"}]
- ["http.hidden_files", "s", {title: "Hidden file pattern"}]
- ["http.auth_domain", "s", {title: "Enable authentication of all HTTP requests"}]
- ["http.auth_file", "s", {title: "Password file to use for auth"}]
cdefs:
MGOS_ENABLE_WEB_CONFIG: 0
MGOS_ENABLE_FILE_UPLOAD: 1
MGOS_ENABLE_TUNNEL: 0
init_after:
- atca
- ethernet
- wifi
tags:
- http
- c
- net