[package] opkg: reintroduce host build, utilize fixed HOST_BUILD_DEPENDS and depend...
[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 # Basic auth realm, defaults to local hostname
55 # option realm OpenWrt
56
57 # Configuration file in busybox httpd format
58 # option config /etc/httpd.conf
59
60
61 # Certificate defaults for px5g key generator
62 config cert px5g
63
64 # Validity time
65 option days 730
66
67 # RSA key size
68 option bits 1024
69
70 # Location
71 option country DE
72 option state Berlin
73 option location Berlin
74
75 # Common name
76 option commonname OpenWrt
77
This page took 0.048144 seconds and 5 git commands to generate.