openwrt: add a fluksorest LuciWebPublisher and restful daemon to lucid config file
This commit is contained in:
parent
9a0240b5ca
commit
1fb8df8e8b
|
@ -0,0 +1,65 @@
|
|||
config lucid main
|
||||
option pollinterval 15000
|
||||
option threadlimit 10
|
||||
option daemonize 1
|
||||
option debug 0
|
||||
list supports tcpserver
|
||||
list supports server
|
||||
|
||||
config DirectoryPublisher webroot
|
||||
option name 'Webserver Share'
|
||||
option physical /www
|
||||
option home 1
|
||||
option virtual ''
|
||||
option domain ''
|
||||
|
||||
config LuciWebPublisher luciweb
|
||||
option name 'LuCI Webapplication'
|
||||
option physical ''
|
||||
list virtual /cgi-bin/luci
|
||||
option domain ''
|
||||
|
||||
config LuciWebPublisher fluksorest
|
||||
option name 'Flukso JSON/REST API'
|
||||
option physical ''
|
||||
list virtual /sensor
|
||||
option domain ''
|
||||
|
||||
config tcpserver httpd
|
||||
option entrypoint "luci.lucid.http"
|
||||
list supports DirectoryPublisher
|
||||
list supports LuciWebPublisher
|
||||
|
||||
config daemon http
|
||||
option slave httpd
|
||||
list address 80
|
||||
list publisher webroot
|
||||
list publisher luciweb
|
||||
option nokeepalive 1
|
||||
option memlimit 1572864
|
||||
option enabled 1
|
||||
|
||||
config daemon restful
|
||||
option slave httpd
|
||||
list address 8080
|
||||
list publisher fluksorest
|
||||
option nokeepalive 1
|
||||
option memlimit 1572864
|
||||
option enabled 1
|
||||
|
||||
config daemon https
|
||||
option slave httpd
|
||||
list address 443
|
||||
list publisher webroot
|
||||
list publisher luciweb
|
||||
option nokeepalive 1
|
||||
option memlimit 1572864
|
||||
option enabled 0
|
||||
option tls maincert
|
||||
option encryption enable
|
||||
|
||||
config tls maincert
|
||||
option key /etc/nixio/rsa_main.der
|
||||
option cert /etc/nixio/cert_main.der
|
||||
option type asn1
|
||||
option generate 1
|
Loading…
Reference in New Issue