-
Notifications
You must be signed in to change notification settings - Fork 36
Expand file tree
/
Copy pathconfig.docker.yaml
More file actions
43 lines (39 loc) · 1.87 KB
/
config.docker.yaml
File metadata and controls
43 lines (39 loc) · 1.87 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
webserver:
# For IPv6, set the listen_addr to "::"
listen_addr: "0.0.0.0"
listen_port: 8080
# If you want to use a reverse proxy in front of the server, set this to true
# It will use the X-Forwarded-For header to get the real IP of the client
real_ip: false
full_url: "/full-stream"
lite_url: "/"
domains_only_url: "/domains-only"
cert_path: ""
cert_key_path: ""
compression_enabled: false
prometheus:
enabled: false
listen_addr: "0.0.0.0"
listen_port: 8080
metrics_url: "/metrics"
expose_system_metrics: false
real_ip: false
whitelist:
- "127.0.0.1/8"
general:
# DisableDefaultLogs indicates whether the default logs used in Google Chrome and provided by Google should be disabled.
disable_default_logs: false
# Google regularly updates the log list. If this option is set to true, the server will remove all logs no longer listed in the Google log list.
# This option defaults to true. See https://github.com/d-Rickyy-b/certstream-server-go/issues/51
drop_old_logs: true
# Options for resuming certificate downloads after restart
recovery:
# If enabled, the server will resume downloading certificates from the last processed and stored index for each log.
# If there is no ct_index_file or for a specific log there is no index entry, the server will start from index 0.
# Be aware that this leads to a massive number of certificates being downloaded.
# Depending on your server's performance and network connection, this could be up to 10.000 certificates per second.
# Make sure your infrastructure can handle this!
enabled: false
# Path to the file where indices are stored. Be aware that a temp file in the same path with the same name and ".tmp" as suffix will be created.
# If there are no write permissions to the path, the server will not be able to store the indices.
ct_index_file: "/app/config/ct_index.json"