Add native support for homepages
[project/luci.git] / libs / lucid / hostfiles / etc / config / lucid
1 config lucid main
2 option pollinterval 15000
3 option daemon 1
4 option debug 1
5 list supports tcpserver
6 list supports server
7
8 config DirectoryPublisher webroot
9 option name 'Webserver Share'
10 option physical host/www
11 option virtual ''
12 option domain ''
13 list read ':lo'
14 list read ':br-lan'
15 list read 'root'
16
17 config LuciWebPublisher luciweb
18 option name 'LuCI Webapplication'
19 option physical ''
20 list virtual /luci
21 option domain ''
22 option home 1
23 list exec ':lo'
24 list exec ':br-lan'
25 list exec 'root'
26
27 config RPCPublisher mainrpc
28 option namespace 'luci.lucid.rpc'
29 list export system
30 list export ruci
31 list exec ':lo'
32 list exec 'root'
33
34 config tcpserver httpd
35 option entrypoint "luci.lucid.http"
36 list supports DirectoryPublisher
37 list supports LuciWebPublisher
38
39 config tcpserver rpcd
40 option entrypoint "luci.lucid.rpc"
41 list supports RPCPublisher
42
43 config daemon http
44 option slave httpd
45 list address 8080
46 list publisher webroot
47 list publisher luciweb
48 option enabled 1
49
50 config daemon https
51 option slave httpd
52 list address 4443
53 list publisher webroot
54 list publisher luciweb
55 option enabled 1
56 option encryption enable
57
58 config daemon rpc
59 option slave rpcd
60 list address 12900
61 list publisher mainrpc
62 option enabled 1
63
64 config 'daemon' 'splashr'
65 option 'slave' 'httpd'
66 list 'address' '8082'
67 list 'publisher' 'splashredir'
68 option 'enabled' '1'
69
70 config 'Redirector' 'splashredir'
71 option 'name' 'Splashd'
72 option 'virtual' '/'
73 option 'physical' ':80/luci/splash'
74