openvpn: disable CBC record splitting in PolarSSL/mbedTLS (#19101)
[openwrt.git] / package / network / services / 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         # 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.
24         option max_requests 3
25
26         # Maximum number of concurrent connections.
27         # If this number is exceeded, further TCP connection
28         # attempts are queued until the number of active
29         # connections drops below the limit again.
30         option max_connections 100
31
32         # Certificate and private key for HTTPS.
33         # If no listen_https addresses are given,
34         # the key options are ignored.
35         option cert             /etc/uhttpd.crt
36         option key              /etc/uhttpd.key
37
38         # CGI url prefix, will be searched in docroot.
39         # Default is /cgi-bin
40         option cgi_prefix       /cgi-bin
41
42         # List of extension->interpreter mappings.
43         # Files with an associated interpreter can
44         # be called outside of the CGI prefix and do
45         # not need to be executable.
46 #       list interpreter        ".php=/usr/bin/php-cgi"
47 #       list interpreter        ".cgi=/usr/bin/perl"
48
49         # Lua url prefix and handler script.
50         # Lua support is disabled if no prefix given.
51 #       option lua_prefix       /luci
52 #       option lua_handler      /usr/lib/lua/luci/sgi/uhttpd.lua
53
54         # Specify the ubus-rpc prefix and socket path.
55 #       option ubus_prefix      /ubus
56 #       option ubus_socket      /var/run/ubus.sock
57
58         # CGI/Lua timeout, if the called script does not
59         # write data within the given amount of seconds,
60         # the server will terminate the request with
61         # 504 Gateway Timeout response.
62         option script_timeout   60
63
64         # Network timeout, if the current connection is
65         # blocked for the specified amount of seconds,
66         # the server will terminate the associated
67         # request process.
68         option network_timeout  30
69
70         # HTTP Keep-Alive, specifies the timeout for persistent
71         # HTTP/1.1 connections. Setting this to 0 will disable
72         # persistent HTTP connections.
73         option http_keepalive   20
74
75         # TCP Keep-Alive, send periodic keep-alive probes
76         # over established connections to detect dead peers.
77         # The value is given in seconds to specify the
78         # interval between subsequent probes.
79         # Setting this to 0 will disable TCP keep-alive.
80         option tcp_keepalive    1
81
82         # Basic auth realm, defaults to local hostname
83 #       option realm    OpenWrt
84
85         # Configuration file in busybox httpd format
86 #       option config   /etc/httpd.conf
87
88         # Do not follow symlinks that point outside of the
89         # home directory.
90 #       option no_symlinks      0
91
92         # Do not produce directory listings but send 403
93         # instead if a client requests an url pointing to
94         # a directory without any index file.
95 #       option no_dirlists      0
96
97         # Do not authenticate any ubus-rpc requests against
98         # the ubus session/access procedure.
99         # This is dangerous and should be always left off
100         # except for development and debug purposes!
101 #       option no_ubusauth      0
102
103
104 # Certificate defaults for px5g key generator
105 config cert px5g
106
107         # Validity time
108         option days             730
109
110         # RSA key size
111         option bits             1024
112
113         # Location
114         option country          DE
115         option state            Berlin
116         option location         Berlin
117
118         # Common name
119         option commonname       OpenWrt