-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathconfig.ini.example
More file actions
44 lines (37 loc) · 1.24 KB
/
config.ini.example
File metadata and controls
44 lines (37 loc) · 1.24 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
[Server]
host = 0.0.0.0
port = 8080
[Logging]
debug = false
access_log = ./logs/access.log
block_log = ./logs/block.log
no_logging_access = false
no_logging_block = false
console_format = date=%(asctime)s level=%(levelname)s file=%(filename)s function=%(funcName)s message=%(message)s
access_log_format = date=%(asctime)s ip_src=%(ip_src)s url=%(url)s method=%(method)s domain=%(domain)s port=%(port)s protocol=%(protocol)s bytes_sent=%(bytes_sent)s bytes_received=%(bytes_received)s tls_version=%(tls_version)s
block_log_format = date=%(asctime)s ip_src=%(ip_src)s url=%(url)s method=%(method)s domain=%(domain)s port=%(port)s protocol=%(protocol)s
datefmt = %Y-%m-%d %H:%M:%S
[Files]
html_403 = assets/403.html
[Filtering]
no_filter = false
filter_mode = local
blocked_sites = config/blocked_sites.txt
blocked_url = config/blocked_url.txt
[Options]
shortcuts = config/shortcuts.txt
custom_header = config/custom_header.json
authorized_ips = config/authorized_ips.txt
[Security]
ssl_inspect = false
inspect_ca_cert = certs/ca/cert.pem
inspect_ca_key = certs/ca/key.pem
inspect_certs_folder = certs/
cancel_inspect = config/cancel_inspect.txt
[Monitoring]
flask_port = 5000
flask_pass = password
[Proxy]
proxy_enable = false
proxy_host = 127.0.0.1
proxy_port = 8081