aboutsummaryrefslogtreecommitdiff
path: root/rpb-debian-iot
diff options
context:
space:
mode:
authorRicardo Salveti <ricardo.salveti@linaro.org>2017-02-08 11:27:01 -0200
committerRicardo Salveti <ricardo.salveti@linaro.org>2017-02-08 11:53:49 -0200
commit9f4b36d5d58438b03742c94e69565496dcca894f (patch)
tree840b07a79913f2b127180f64ad602c6c7f4c74c2 /rpb-debian-iot
parent15608476d9b35fbbae473542b272e80e3228b27a (diff)
rpb-debian-iot: updates to the tinyproxy config
Listen on every interface (avoid if up/down) and add min/max spare servers for a faster connection with the IoT devices. Change-Id: Iaf783ad8d9ca06961f85e64dc4515d9e6ff52a8d Signed-off-by: Ricardo Salveti <ricardo.salveti@linaro.org>
Diffstat (limited to 'rpb-debian-iot')
-rw-r--r--rpb-debian-iot/conf/bt02
-rw-r--r--rpb-debian-iot/conf/tinyproxy.conf5
2 files changed, 3 insertions, 4 deletions
diff --git a/rpb-debian-iot/conf/bt0 b/rpb-debian-iot/conf/bt0
index 8fb58cc3..a946b86e 100644
--- a/rpb-debian-iot/conf/bt0
+++ b/rpb-debian-iot/conf/bt0
@@ -3,5 +3,3 @@ allow-hotplug bt0
iface bt0 inet6 static
address fc00:0:0:0:d4e7::1
netmask 80
- up service tinyproxy start
- down service tinyproxy stop
diff --git a/rpb-debian-iot/conf/tinyproxy.conf b/rpb-debian-iot/conf/tinyproxy.conf
index cc064b85..d45a817f 100644
--- a/rpb-debian-iot/conf/tinyproxy.conf
+++ b/rpb-debian-iot/conf/tinyproxy.conf
@@ -1,7 +1,6 @@
User tinyproxy
Group tinyproxy
Port 8080
-Listen fc00::d4e7:0:0:1
Timeout 600
# TODO: Make this return a 30 second JSON wait response
DefaultErrorFile "/usr/share/tinyproxy/default.html"
@@ -10,7 +9,9 @@ Logfile "/var/log/tinyproxy/tinyproxy.log"
LogLevel Info
PidFile "/var/run/tinyproxy/tinyproxy.pid"
MaxClients 100
-StartServers 10
+MinSpareServers 10
+MaxSpareServers 30
+StartServers 20
Allow fc00::/7
Allow fe80::/64
Allow ::1