acdd62ea4eb471aba1e9f5f9397ad1715ff008bb
[openwrt/openwrt.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 terminate the request with
33 # 504 Gateway Timeout response.
34 option script_timeout 60
35
36 # Network timeout, if the current connection is
37 # blocked for the specified amount of seconds,
38 # the server will terminate the associated
39 # request process.
40 option network_timeout 30
41
42 # Basic auth realm, defaults to local hostname
43 # option realm OpenWrt
44
45 # Configuration file in busybox httpd format
46 # option config /etc/httpd.conf
47
48
49 # Certificate defaults for px5g key generator
50 config cert px5g
51
52 # Validity time
53 option days 730
54
55 # RSA key size
56 option bits 1024
57
58 # Location
59 option country DE
60 option state Berlin
61 option location Berlin
62
63 # Common name
64 option commonname OpenWrt
65