<?php

declare(strict_types=1);

return [
    // The short key assigned to this domain in the VPS node_groups config.
    'node_id' => 'dl',

    // Generate with: php -r "echo bin2hex(random_bytes(32)), PHP_EOL;"
    // The same secret may be shared by all nodes. Keep the real value in
    // config.php, which is ignored by Git.
    'hmac_secret' => '113360c6f00fef665ee032e5420b0a1b931fa3f8737bd39782b5cf208d52d6bf',

    // This node serves one domain and its local root. A request can never
    // escape the configured root.
    'hosts' => [
        'dl.hollowofthealley.space' => '/home/sites/hdd2/dl.borna.live/',
    ],

    'scanner' => [
        'max_files_per_request' => 25,
        'default_files_per_request' => 10,
        'max_time_budget_seconds' => 22,
        'default_time_budget_seconds' => 18,
        'max_request_bytes' => 16384,
        'max_clock_skew_seconds' => 300,
        'max_file_size' => 2097152000,
    ],
];
