forked from epotyom/tinyproxy-formula
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpillar.example
64 lines (64 loc) · 1.53 KB
/
pillar.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
tinyproxy:
User: myuser
Group: mygroup
Port: 8888
Listen: 192.168.0.1
Bind: 1.2.3.4
BindSame: yes
Timeout: 600
ErrorFile:
404: /usr/share/tinyproxy/404.html
400: /usr/share/tinyproxy/400.html
503: /usr/share/tinyproxy/503.html
403: /usr/share/tinyproxy/403.html
408: /usr/share/tinyproxy/408.html
DefaultErrorFile: /usr/share/tinyproxy/default.html
StatHost: tinyproxy.stats
StatFile: /usr/share/tinyproxy/stats.html
Logfile: /var/log/tinyproxy/tinyproxy.log
Syslog: On
LogLevel: Info
PidFile: /var/run/tinyproxy/tinyproxy.pid
XTinyproxy: Yes
Upstream:
- "testproxy:8008 \".test.domain.invalid\""
- "testproxy:8008 \".our_testbed.example.com\""
- "testproxy:8008 \"192.168.128.0/255.255.254.0\""
NoUpstream:
- ".internal.example.com"
- "www.example.com"
- "10.0.0.0/8"
- "192.168.0.0/255.255.254.0"
- "."
MaxClients: 100
MinSpareServers: 5
MaxSpareServers: 20
StartServers: 10
MaxRequestsPerChild: 0
Allow:
- 127.0.0.1
- 192.168.0.0/16
- 172.16.0.0/12
- 10.0.0.0/8
AddHeader:
X-My-Header: "Powered by Tinyproxy"
ViaProxyName: tinyproxy
DisableViaHeader: Yes
Filter: /etc/filter
FilterURLs: On
FilterExtended: On
FilterCaseSensitive: On
FilterDefaultDeny: Yes
Anonymous:
- Host
- Authorization
- Cookie
ConnectPort:
- 443
- 563
ReversePath:
"/google/": "http://www.google.com/"
"/wired/": "http://www.wired.com/"
ReverseOnly: Yes
ReverseMagic: Yes
ReverseBaseURL: "http://localhost:8888/"