Comprehensive Access Control Program
Go-Proxy provides a complete access control system, it is recommended to use a combination of the following policies:
- 1. Flow quotas: Setting in config.yaml
bandwidth_limitLimit single IP daily traffic - 2. Rate limitation: Configuration
rate_limit: 10req/sPrevention of violent requests - 3. Time period control: Combine with crontab to start and stop containers on a regular basis, limiting the service availability time
- 4. Two-factor authentication: Deploying Nginx+Authelia on the front-end for OTP authentication
- 5. IP geo-blocking: Use
geoip_blockModule blocks country-specific access
Operation and maintenance recommendation: regularly adoptdocker logsAnalyze access patterns, blacklist anomalous IPs in a timely manner, and enable theconnection_limitAnti-CC Attack
This answer comes from the articleGo-Proxy: A High Performance Reverse Proxy Server for Docker IntegrationThe































