Fix redirector
[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         list exec ':lo'
23         list exec ':br-lan'
24         list exec 'root'
25         
26 config RPCPublisher     mainrpc
27         option namespace 'luci.lucid.rpc'
28         list export system
29         list export ruci
30         list exec ':lo'
31         list exec 'root'
32
33 config tcpserver httpd
34         option entrypoint "luci.lucid.http"
35         list supports DirectoryPublisher
36         list supports LuciWebPublisher
37         
38 config tcpserver rpcd
39         option entrypoint "luci.lucid.rpc"
40         list supports RPCPublisher
41
42 config daemon http
43         option slave httpd
44         list address 8080
45         list publisher webroot
46         list publisher luciweb
47         option enabled 1
48         
49 config daemon https
50         option slave httpd
51         list address 4443
52         list publisher webroot
53         list publisher luciweb
54         option enabled 1
55         option encryption enable
56         
57 config daemon rpc
58         option slave rpcd
59         list address 12900
60         list publisher mainrpc
61         option enabled 1
62         
63 config 'daemon' 'splashr'
64         option 'slave' 'httpd'
65         list 'address' '8082'
66         list 'publisher' 'splashredir'
67         option 'enabled' '1'
68
69 config 'Redirector' 'splashredir'
70         option 'name' 'Splashd'
71         option 'virtual' '/'
72         option 'physical' ':80/luci/splash'
73
74