@@ -217,37 +217,6 @@ After making changes to domain configuration, you may need to reload Nginx:
2172171 . Click the ** Reload Nginx** button in the domain list
2182182 . Or use the system-wide reload in ** System** settings
219219
220-
221- ## Best Practices
222-
223- ### Domain Configuration
224-
225- 1 . ** Use Descriptive Names** : Make domain names clear and descriptive
226- 2 . ** Organize by Environment** : Separate production, staging, and development domains
227- 3 . ** Document Configuration** : Keep records of special configurations
228- 4 . ** Regular Backups** : Backup domain configurations regularly
229-
230- ### Upstream Server Management
231-
232- 1 . ** Multiple Servers** : Always configure at least two upstream servers for redundancy
233- 2 . ** Health Checks** : Enable health checks for all production domains
234- 3 . ** Weight Distribution** : Use appropriate weights based on server capacity
235- 4 . ** Backup Servers** : Configure backup servers for high availability
236-
237- ### Security
238-
239- 1 . ** SSL Everywhere** : Enable SSL for all production domains
240- 2 . ** ModSecurity** : Enable WAF protection for all public-facing domains
241- 3 . ** Access Control** : Use ACLs to restrict access as needed
242- 4 . ** Regular Updates** : Keep SSL certificates and security rules updated
243-
244- ### Performance
245-
246- 1 . ** Monitor Metrics** : Regularly check performance metrics
247- 2 . ** Optimize Configuration** : Tune settings based on traffic patterns
248- 3 . ** Load Testing** : Test configuration under load
249- 4 . ** Capacity Planning** : Plan for growth and scale accordingly
250-
251220## API Integration
252221
253222For programmatic domain management, use the REST API:
@@ -301,15 +270,7 @@ curl -X DELETE http://localhost:3001/api/domains/DOMAIN_ID \
301270
302271For complete API documentation, see the [ API Reference] ( /api/domains ) .
303272
304- ## Conclusion
305-
306- Domain management is a core feature of the Nginx WAF Management Platform. By following this guide, you should be able to:
307273
308- - Add and configure domains effectively
309- - Set up reliable load balancing
310- - Monitor domain performance
311- - Troubleshoot common issues
312- - Implement best practices for production use
313274
314275For more information on related topics:
315276- [ SSL Certificate Management] ( /guide/ssl )
0 commit comments