1
(* Configuration file for the "netplex" program. *)
5
max_level = "debug"; (* Log level *)
7
type = "stderr"; (* Log to stderr *)
13
(* This section creates the socket *)
17
bind = "0.0.0.0:4444";
22
bind = "[::1]:4445"; (* IPv6 example *)
27
(* This section specifies how to process data of the socket *)
29
access_log = "debug"; (* or "off" or "enabled" *)
30
suppress_broken_pipe = true;
32
(* Think of Apache's "virtual hosts" *)
33
pref_name = "localhost";
35
names = "*:0"; (* Which requests are matched here: all *)
41
media_types_file = "/etc/mime.types";
42
enable_listings = true;
46
path = "/adder"; (* This path is bound to the adder *)
56
max_jobs_per_thread = 1; (* Everything else is senseless *)
57
min_free_jobs_capacity = 1;
58
max_free_jobs_capacity = 1;