| Server IP : 35.80.110.71 / Your IP : 216.73.216.221 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ip-172-31-21-44 6.17.0-1019-aws #19~24.04.1-Ubuntu SMP Tue Jun 23 18:53:06 UTC 2026 x86_64 User : ubuntu ( 1000) PHP Version : 8.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/client-portal-laravel/releases/20260626120707/config/ |
Upload File : |
<?php
return [
/*
|--------------------------------------------------------------------------
| VAPID Configuration
|--------------------------------------------------------------------------
|
| VAPID (Voluntary Application Server Identification) keys are required
| for sending web push notifications. Generate a key pair using:
| openssl ecparam -genkey -name prime256v1 -out private_key.pem
| openssl ec -in private_key.pem -pubout -outform DER|tail -c 65|base64|tr -d '=' |tr '/+' '_-' >> public_key.txt
|
| Or use an online generator like https://vapidkeys.com/
|
*/
'vapid' => [
'subject' => env('VAPID_SUBJECT', 'mailto:'.env('MAIL_FROM_ADDRESS', 'admin@example.com')),
'public_key' => env('VAPID_PUBLIC_KEY', ''),
'private_key' => env('VAPID_PRIVATE_KEY', ''),
],
/*
|--------------------------------------------------------------------------
| Push Notification Settings
|--------------------------------------------------------------------------
|
| TTL (Time To Live) in seconds - how long the push service should keep
| trying to deliver the notification if the user is offline.
|
*/
'ttl' => env('WEBPUSH_TTL', 2419200), // 4 weeks
/*
|--------------------------------------------------------------------------
| Automatic Cleanup
|--------------------------------------------------------------------------
|
| Automatically remove push subscriptions that fail to receive messages
| after a certain number of consecutive failures.
|
*/
'cleanup' => [
'enabled' => env('WEBPUSH_CLEANUP_ENABLED', true),
'max_failures' => env('WEBPUSH_MAX_FAILURES', 3),
],
];