-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from rssnyder/patch-1
feat: add support for ubuntu 22.04
- Loading branch information
Showing
1 changed file
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 %} |