[adm5120] fix support for 2.6.38 kernel
[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 # Reject requests from RFC1918 IP addresses
16 # directed to the servers public IP(s).
17 # This is a DNS rebinding countermeasure.
18 option rfc1918_filter 1
19
20 # Certificate and private key for HTTPS.
21 # If no listen_https addresses are given,
22 # the key options are ignored.
23 option cert /etc/uhttpd.crt
24 option key /etc/uhttpd.key
25
26 # CGI url prefix, will be searched in docroot.
27 # Default is /cgi-bin
28 option cgi_prefix /cgi-bin
29
30 # List of extension->interpreter mappings.
31 # Files with an associated interpreter can
32 # be called outside of the CGI prefix and do
33 # not need to be executable.
34 # list interpreter ".php=/usr/bin/php-cgi"
35 # list interpreter ".cgi=/usr/bin/perl"
36
37 # Lua url prefix and handler script.
38 # Lua support is disabled if no prefix given.
39 # option lua_prefix /luci
40 # option lua_handler /usr/lib/lua/luci/sgi/uhttpd.lua
41
42 # CGI/Lua timeout, if the called script does not
43 # write data within the given amount of seconds,
44 # the server will terminate the request with
45 # 504 Gateway Timeout response.
46 option script_timeout 60
47
48 # Network timeout, if the current connection is
49 # blocked for the specified amount of seconds,
50 # the server will terminate the associated
51 # request process.
52 option network_timeout 30
53
54 # TCP Keep-Alive, send periodic keep-alive probes
55 # over established connections to detect dead peers.
56 # The value is given in seconds to specify the
57 # interval between subsequent probes.
58 # Setting this to 0 will disable TCP keep-alive.
59 option tcp_keepalive 1
60
61 # Basic auth realm, defaults to local hostname
62 # option realm OpenWrt
63
64 # Configuration file in busybox httpd format
65 # option config /etc/httpd.conf
66
67
68 # Certificate defaults for px5g key generator
69 config cert px5g
70
71 # Validity time
72 option days 730
73
74 # RSA key size
75 option bits 1024
76
77 # Location
78 option country DE
79 option state Berlin
80 option location Berlin
81
82 # Common name
83 option commonname OpenWrt
84
This page took 0.051134 seconds and 5 git commands to generate.