Skip to content

Commit 9faacc1

Browse files
authored
feat: add support for ubuntu 22.04
1 parent 0d745e6 commit 9faacc1

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

vars/_jammy.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# vars file
2+
---
3+
tinyproxy_configuration_file: /etc/tinyproxy/tinyproxy.conf
4+
5+
tinyproxy_tinyproxy_conf_preset:
6+
- |
7+
User tinyproxy
8+
Group tinyproxy
9+
Port {{ tinyproxy_port }}
10+
Timeout 600
11+
DefaultErrorFile "/usr/share/tinyproxy/default.html"
12+
StatFile "/usr/share/tinyproxy/stats.html"
13+
Logfile "/var/log/tinyproxy/tinyproxy.log"
14+
LogLevel Info
15+
PidFile "/run/tinyproxy/tinyproxy.pid"
16+
MaxClients 100
17+
MinSpareServers 5
18+
MaxSpareServers 20
19+
StartServers 10
20+
MaxRequestsPerChild 0
21+
{% for allow in tinyproxy_allow %}
22+
Allow {{ allow }}
23+
{% endfor %}
24+
ViaProxyName "tinyproxy"
25+
{% for connect_port in tinyproxy_connect_port %}
26+
ConnectPort {{ connect_port }}
27+
{% endfor %}

0 commit comments

Comments
 (0)