-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpacproxy.yml
69 lines (63 loc) · 2.05 KB
/
pacproxy.yml
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
65
66
67
68
69
# pacproxy conifguration
# daemonize: [boolean]
# eg. daemonize: true
daemonize: true
# port: [integer]
# eg. port: 3128
port: 3128
# pac_file related items
pac_file:
# pac_file > location: [string]
# absolute path is preferred
# eg. location: /opt/pacproxy/proxy.pac
# eg. location: http://example.com/proxy.pac
location: proxy.pac
# pac_file > update_interval(seconds): [integer]
# eg. update_interval: 1800
update_interval: 1800
# upstream proxy authorization related items
# auth > user: [string]
# user name for upstream proxy server
# auth > password: [string]
# password for upstream proxy server
# eg.
# auth:
# user: user100
# password: abcd1234
# general log related items
general_log:
# general_log > location: [string]
# absolute path is preferred
# eg. location: /var/log/pacproxy.log
location: pacproxy.log
# general_log > log_level: [string]
# DEBUG/INFO/WARN/ERROR/FATAL
# see: http://ruby-doc.org/stdlib-2.1.2/libdoc/logger/rdoc/Logger.html
# eg. log_level: ERROR
log_level: ERROR
# general_log > log_rotate related items
log_rotate:
# general_log > log_rotate > shift_age: [integer/string]
# see: http://ruby-doc.org/stdlib-2.1.2/libdoc/logger/rdoc/Logger.html
shift_age: 7
# general_log > log_rotate > shift_size: [integer]
# see: http://ruby-doc.org/stdlib-2.1.2/libdoc/logger/rdoc/Logger.html
shift_size: 10485760 #10 * 1024 * 1024
# access log related items
access_log:
# access_log > location: [string]
# absolute path is preferred
# eg. location: /var/log/proxy_access.log
location: proxy_access.log
# access_log > format: [string]
# eg. format: "%h %l %u %t \"%r\" %s %b"
# see: http://httpd.apache.org/docs/current/en/mod/mod_log_config.html
format: "%h %l %u %t \"%r\" %s %b"
# access_log > log_rotate related items
log_rotate:
# access_log > log_rotate > shift_age: [integer/string]
# see: http://ruby-doc.org/stdlib-2.1.2/libdoc/logger/rdoc/Logger.html
shift_age: 7
# access_log > log_rotate > shift_size: [integer]
# see: http://ruby-doc.org/stdlib-2.1.2/libdoc/logger/rdoc/Logger.html
shift_size: 10485760 #10 * 1024 * 1024