23 lines
516 B
Plaintext
23 lines
516 B
Plaintext
# VPN Access Server Configuration Template
|
|
# Copy this file to .env and update with your values
|
|
|
|
# Database Configuration
|
|
DB_HOST=localhost
|
|
DB_PORT=3306
|
|
DB_NAME=vpn_access
|
|
DB_USER=vpn_user
|
|
DB_PASSWORD=your_secure_password_here
|
|
DB_CHARSET=utf8mb4
|
|
DB_AUTOCOMMIT=false
|
|
DB_POOL_SIZE=5
|
|
DB_MAX_OVERFLOW=10
|
|
|
|
# Server Configuration
|
|
LOG_LEVEL=INFO
|
|
LOG_FILE=/var/log/openvpn/access-server.log
|
|
DEFAULT_SESSION_LIMIT=28800
|
|
MAX_SESSION_LIMIT=86400
|
|
TIMEZONE=UTC
|
|
|
|
# Session cleanup (for maintenance scripts)
|
|
SESSION_CLEANUP_DAYS=90 |