[package] uhttpd:
[openwrt/svn-archive/archive.git] / package / uhttpd / files / uhttpd.config
index 0bca4f516bd34cf656c0351ff1125299fd4211e9..79b018cf809f3df6702bacf0524a6dbcbdb5933e 100644 (file)
@@ -1,6 +1,14 @@
 # Server configuration
 config uhttpd main
 
+       # HTTP listen addresses, multiple allowed
+       list listen_http        0.0.0.0:80
+#      list listen_http        [::]:80
+
+       # HTTPS listen addresses, multiple allowed
+       list listen_https       0.0.0.0:443
+#      list listen_https       [::]:443
+
        # Server document root
        option home             /www
 
@@ -19,13 +27,11 @@ config uhttpd main
 #      option lua_prefix       /luci
 #      option lua_handler      /usr/lib/lua/luci/sgi/uhttpd.lua
 
-       # HTTP listen addresses, multiple allowed
-       list listen_http        0.0.0.0:80
-#      list listen_http        [::]:80
-
-       # HTTPS listen addresses, multiple allowed
-       list listen_https       0.0.0.0:443
-#      list listen_https       [::]:443
+       # CGI/Lua timeout, if the called script does not
+       # write data within the given amount of seconds,
+       # the server will temrinate the request with
+       # 504 Gateway Timeout response.
+       option script_timeout   60
 
        # Basic auth realm, defaults to local hostname
 #      option realm    OpenWrt