Skip to content

Commit

Permalink
Merge pull request #7 from rssnyder/patch-1
Browse files Browse the repository at this point in the history
feat: add support for ubuntu 22.04
  • Loading branch information
tersmitten authored May 10, 2023
2 parents 0d745e6 + 9faacc1 commit 325f5f8
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions vars/_jammy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# vars file
---
tinyproxy_configuration_file: /etc/tinyproxy/tinyproxy.conf

tinyproxy_tinyproxy_conf_preset:
- |
User tinyproxy
Group tinyproxy
Port {{ tinyproxy_port }}
Timeout 600
DefaultErrorFile "/usr/share/tinyproxy/default.html"
StatFile "/usr/share/tinyproxy/stats.html"
Logfile "/var/log/tinyproxy/tinyproxy.log"
LogLevel Info
PidFile "/run/tinyproxy/tinyproxy.pid"
MaxClients 100
MinSpareServers 5
MaxSpareServers 20
StartServers 10
MaxRequestsPerChild 0
{% for allow in tinyproxy_allow %}
Allow {{ allow }}
{% endfor %}
ViaProxyName "tinyproxy"
{% for connect_port in tinyproxy_connect_port %}
ConnectPort {{ connect_port }}
{% endfor %}

0 comments on commit 325f5f8

Please sign in to comment.