filter_var(env('CUSTOM_DOMAINS_ENABLED', true), FILTER_VALIDATE_BOOLEAN), // This app's own host(s) — requests on any other host are treated as a // customer custom domain and resolved to the mapped storefront. 'app_host' => $appHost, // Where customers point their A records (apex + www). 'server_ip' => env('LADILL_APP_SERVER_IP', '161.97.138.149'), // Central SSL provisioning (Ladill Domains). 'ssl_api_url' => rtrim(env('DOMAINS_SSL_API_URL', 'https://domains.ladill.com/api'), '/'), 'ssl_api_key' => env('DOMAINS_API_KEY_MERCHANT', ''), // certbot issues + installs an nginx server block that includes this snippet // (root + fastcgi for the Merchant app) so the custom domain serves this app. 'nginx_include' => env('CUSTOM_DOMAINS_NGINX_INCLUDE', '/etc/nginx/snippets/ladill-merchant-app.conf'), // Shared secret to verify the signed completion callback from Domains. 'callback_secret' => env('SSL_CALLBACK_SECRET', ''), ];