libs/lucid: enable tls in sdk
[project/luci.git] / libs / lucid / hostfiles / etc / config / lucid
index 22b7efa..a88835c 100644 (file)
@@ -10,9 +10,6 @@ config DirectoryPublisher webroot
        option physical host/www
        option virtual ''
        option domain ''
-       list read ':lo'
-       list read ':br-lan'
-       list read 'root'
        
 config LuciWebPublisher luciweb
        option name 'LuCI Webapplication'
@@ -20,9 +17,6 @@ config LuciWebPublisher luciweb
        list virtual /luci
        option domain ''
        option home 1
-       list exec ':lo'
-       list exec ':br-lan'
-       list exec 'root'
        
 config RPCPublisher    mainrpc
        option namespace 'luci.lucid.rpc'
@@ -54,7 +48,14 @@ config daemon https
        list publisher luciweb
        option enabled 1
        option encryption enable
+       option tls sdk_tls
        
+config tls sdk_tls
+       option generate 1
+       option key /tmp/lucid-tls.key
+       option cert /tmp/lucid-tls.cert
+       option type asn1
+
 config daemon rpc
        option slave rpcd
        list address 12900