[package] uhttpd:
[openwrt-10.03/.git] / package / uhttpd / files / uhttpd.config
1 # Server configuration
2 config uhttpd main
3
4         # HTTP listen addresses, multiple allowed
5         list listen_http        0.0.0.0:80
6 #       list listen_http        [::]:80
7
8         # HTTPS listen addresses, multiple allowed
9         list listen_https       0.0.0.0:443
10 #       list listen_https       [::]:443
11
12         # Server document root
13         option home             /www
14
15         # Certificate and private key for HTTPS.
16         # If no listen_https addresses are given,
17         # the key options are ignored.
18         option cert             /etc/uhttpd.crt
19         option key              /etc/uhttpd.key
20
21         # CGI url prefix, will be searched in docroot.
22         # Default is /cgi-bin
23         option cgi_prefix       /cgi-bin
24
25         # Lua url prefix and handler script.
26         # Lua support is disabled if no prefix given.
27 #       option lua_prefix       /luci
28 #       option lua_handler      /usr/lib/lua/luci/sgi/uhttpd.lua
29
30         # CGI/Lua timeout, if the called script does not
31         # write data within the given amount of seconds,
32         # the server will temrinate the request with
33         # 504 Gateway Timeout response.
34         option script_timeout   60
35
36         # Basic auth realm, defaults to local hostname
37 #       option realm    OpenWrt
38
39         # Configuration file in busybox httpd format
40 #       option config   /etc/httpd.conf
41
42
43 # Certificate defaults for px5g key generator
44 config cert px5g
45
46         # Validity time
47         option days             730
48
49         # RSA key size
50         option bits             1024
51
52         # Location
53         option country          DE
54         option state            Berlin
55         option location         Berlin
56
57         # Common name
58         option commonname       OpenWrt
59