| 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 | compression_enabled: false |
| 14 | |
| 15 | prometheus: |
| 16 | enabled: false |
| 17 | listen_addr: "0.0.0.0" |
| 18 | listen_port: 8080 |
| 19 | metrics_url: "/metrics" |
| 20 | expose_system_metrics: false |
| 21 | real_ip: false |
| 22 | whitelist: |
| 23 | - "127.0.0.1/8" |
| 24 | |
| 25 | general: |
| 26 | # DisableDefaultLogs indicates whether the default logs used in Google Chrome and provided by Google should be disabled. |
| 27 | disable_default_logs: false |
| 28 | |
| 29 | # 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. |
| 30 | # This option defaults to true. See https://github.com/d-Rickyy-b/certstream-server-go/issues/51 |
| 31 | drop_old_logs: true |
| 32 | |
| 33 | # Options for resuming certificate downloads after restart |
| 34 | recovery: |
| 35 | # If enabled, the server will resume downloading certificates from the last processed and stored index for each log. |
| 36 | # If there is no ct_index_file or for a specific log there is no index entry, the server will start from index 0. |
| 37 | # Be aware that this leads to a massive number of certificates being downloaded. |
| 38 | # Depending on your server's performance and network connection, this could be up to 10.000 certificates per second. |
| 39 | # Make sure your infrastructure can handle this! |
| 40 | enabled: false |
| 41 | # 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. |
| 42 | # If there are no write permissions to the path, the server will not be able to store the indices. |
| 43 | ct_index_file: "/app/config/ct_index.json" |