Debian Codegraph @

config.sample.yaml

raw symbols SCIP
1 webserver:
2 # For IPv6, set the listen_addr to "::"
3 listen_addr: "0.0.0.0"
4 listen_port: 8080
5 # If you want to use a reverse proxy in front of the server, set this to true
6 # It will use the X-Forwarded-For header to get the real IP of the client
7 real_ip: false
8 full_url: "/full-stream"
9 lite_url: "/"
10 domains_only_url: "/domains-only"
11 cert_path: ""
12 cert_key_path: ""
13 # specify if the server should attempt to negotiate per message compression (RFC 7692)
14 compression_enabled: false
15
16 prometheus:
17 enabled: true
18 listen_addr: "0.0.0.0"
19 listen_port: 8080
20 metrics_url: "/metrics"
21 expose_system_metrics: false
22 real_ip: false
23 whitelist:
24 - "127.0.0.1/8"
25
26 general:
27 # DisableDefaultLogs indicates whether the default logs used in Google Chrome and provided by Google should be disabled.
28 disable_default_logs: false
29 # When you want to add logs that are not contained in the log list provided by
30 # Google (https://www.gstatic.com/ct/log_list/v3/log_list.json), you can add them here.
31 #additional_logs:
32 # - url: https://ct.googleapis.com/logs/us1/mirrors/digicert_nessie2022
33 # operator: "DigiCert"
34 # description: "DigiCert Nessie2022 log"
35
36 #additional_tiled_logs:
37 # - url: https://ct.cloudflare.com/logs/raio2025h2b/
38 # operator: "Cloudflare"
39 # description: "Cloudflare 'Raio2025h2b'"
40
41 # To optimize the performance of the server, you can overwrite the size of different buffers
42 # For low CPU, low memory machines, you should reduce the buffer sizes to save memory in case the CPU is maxed.
43 buffer_sizes:
44 # Buffer for each websocket connection
45 websocket: 300
46 # Buffer for each CT log connection
47 ctlog: 1000
48 # Combined buffer for the broadcast manager
49 broadcastmanager: 10000
50
51 # 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.
52 # This option defaults to true. See https://github.com/d-Rickyy-b/certstream-server-go/issues/51
53 drop_old_logs: true
54
55 # Options for resuming certificate downloads after restart
56 recovery:
57 # If enabled, the server will resume downloading certificates from the last processed and stored index for each log.
58 # If there is no ct_index_file or for a specific log there is no index entry, the server will start from index 0.
59 # Be aware that this leads to a massive number of certificates being downloaded.
60 # Depending on your server's performance and network connection, this could be up to 10.000 certificates per second.
61 # Make sure your infrastructure can handle this!
62 enabled: true
63 # 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.
64 # If there are no write permissions to the path, the server will not be able to store the indices.
65 ct_index_file: "./ct_index.json"