4 # HTTP listen addresses, multiple allowed
5 list listen_http 0.0.0.0:80
6 # list listen_http [::]:80
8 # HTTPS listen addresses, multiple allowed
9 list listen_https 0.0.0.0:443
10 # list listen_https [::]:443
12 # Server document root
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
20 # Maximum number of concurrent requests.
21 # If this number is exceeded, further requests are
22 # queued until the number of running requests drops
23 # below the limit again.
26 # Certificate and private key for HTTPS.
27 # If no listen_https addresses are given,
28 # the key options are ignored.
29 option cert /etc/uhttpd.crt
30 option key /etc/uhttpd.key
32 # CGI url prefix, will be searched in docroot.
34 option cgi_prefix /cgi-bin
36 # List of extension->interpreter mappings.
37 # Files with an associated interpreter can
38 # be called outside of the CGI prefix and do
39 # not need to be executable.
40 # list interpreter ".php=/usr/bin/php-cgi"
41 # list interpreter ".cgi=/usr/bin/perl"
43 # Lua url prefix and handler script.
44 # Lua support is disabled if no prefix given.
45 # option lua_prefix /luci
46 # option lua_handler /usr/lib/lua/luci/sgi/uhttpd.lua
48 # CGI/Lua timeout, if the called script does not
49 # write data within the given amount of seconds,
50 # the server will terminate the request with
51 # 504 Gateway Timeout response.
52 option script_timeout 60
54 # Network timeout, if the current connection is
55 # blocked for the specified amount of seconds,
56 # the server will terminate the associated
58 option network_timeout 30
60 # TCP Keep-Alive, send periodic keep-alive probes
61 # over established connections to detect dead peers.
62 # The value is given in seconds to specify the
63 # interval between subsequent probes.
64 # Setting this to 0 will disable TCP keep-alive.
65 option tcp_keepalive 1
67 # Basic auth realm, defaults to local hostname
68 # option realm OpenWrt
70 # Configuration file in busybox httpd format
71 # option config /etc/httpd.conf
74 # Certificate defaults for px5g key generator
86 option location Berlin
89 option commonname OpenWrt