docs: add security configuration documentation
This commit is contained in:
@@ -24,3 +24,16 @@ DATABASE_URL=file:./data/dev.db
|
||||
# File Upload
|
||||
UPLOAD_DIR=./uploads
|
||||
MAX_FILE_SIZE=10485760
|
||||
|
||||
# Security Configuration
|
||||
# Rate Limiting (每分钟最大请求数)
|
||||
RATE_LIMIT_MAX_REQUESTS=10
|
||||
RATE_LIMIT_WINDOW_MS=60000
|
||||
|
||||
# Captcha Configuration
|
||||
CAPTCHA_EXPIRY_MS=300000
|
||||
CAPTCHA_MAX_ATTEMPTS=3
|
||||
|
||||
# Security Logging
|
||||
SECURITY_LOG_RETENTION_DAYS=30
|
||||
SECURITY_LOG_MAX_ENTRIES=1000
|
||||
|
||||
Reference in New Issue
Block a user