applications/luci-samba: forgot to commit a change of #117
[project/luci.git] / contrib / package / uhttpd / files / uhttpd.config
1 # Server configuration
2 config uhttpd main
3
4         # Server document root
5         option home             /www
6
7         # Certificate and private key for HTTPS.
8         # If no listen_https addresses are given,
9         # the key options are ignored.
10         option cert             /etc/uhttpd.crt
11         option key              /etc/uhttpd.key
12
13         # CGI url prefix, will be searched in docroot.
14         # Default is /cgi-bin
15         option cgi_prefix       /cgi-bin
16
17         # Lua url prefix and handler script.
18         # Lua support is disabled if no prefix given.
19 #       option lua_prefix       /luci
20 #       option lua_handler      /usr/lib/lua/luci/sgi/uhttpd.lua
21
22         # HTTP listen addresses, multiple allowed
23         list listen_http        0.0.0.0:80
24 #       list listen_http        [::]:80
25
26         # HTTPS listen addresses, multiple allowed
27         list listen_https       0.0.0.0:443
28 #       list listen_https       [::]:443
29
30         # Basic auth realm, defaults to local hostname
31 #       option realm    OpenWrt
32
33         # Configuration file in busybox httpd format
34 #       option config   /etc/httpd.conf
35
36
37 # Certificate defaults for px5g key generator
38 config cert px5g
39
40         # Validity time
41         option days             730
42
43         # RSA key size
44         option bits             1024
45
46         # Location
47         option country          DE
48         option state            Berlin
49         option location         Berlin
50
51         # Common name
52         option commonname       OpenWrt
53