-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtinyproxy.example.conf
More file actions
56 lines (42 loc) · 1.22 KB
/
tinyproxy.example.conf
File metadata and controls
56 lines (42 loc) · 1.22 KB
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
# Tinyproxy configuration file
# See tinyproxy.conf(5) for more information
# User and group to run tinyproxy as
User nobody
Group nobody
# Port to listen on
Port 8888
# Address to listen on (0.0.0.0 means all interfaces)
Listen 0.0.0.0
# Timeout for connections
Timeout 600
# Log file location
# LogFile "/var/log/tinyproxy/tinyproxy.log"
# LogLevel Info
# PID file location
PidFile "/var/run/tinyproxy/tinyproxy.pid"
# Allow connections from any IP (for Docker)
# You can restrict this to specific IPs or networks
Allow 0.0.0.0/0
# Disable reverse proxying
# ReversePath "/"
# ReverseOnly Yes
# ReverseMagic Yes
# Upstream proxy (if needed)
# Upstream http 192.168.1.1:8080
# Filtering (uncomment to enable)
# Filter "/etc/tinyproxy/filter"
# FilterURLs On
# FilterExtended On
# FilterCaseSensitive On
# FilterDefaultDeny Yes
# Basic authentication (uncomment to enable)
# BasicAuth username password
# Add headers (uncomment and configure if needed)
# AddHeader "X-Forwarded-For" "client-ip"
# Disable statistics page
StatFile "/etc/tinyproxy/stats"
# Disable error pages
ErrorFile 403 "/etc/tinyproxy/403.html"
ErrorFile 404 "/etc/tinyproxy/404.html"
ErrorFile 501 "/etc/tinyproxy/501.html"
ErrorFile 503 "/etc/tinyproxy/503.html"