Tagged articles
backend configuration
13 articles · Page 1 of 1
This article explains the Nginx map directive, its syntax and core concept of creating new variables from existing ones, and demonstrates practical applications such as cookie‑based environment routing and secure multi‑domain CORS handling with clear code examples.
CORSNGINXbackend configuration
0 likes · 6 min read

This guide explains why environment variables are essential for FastAPI projects and provides step‑by‑step instructions for both a simple .env + python‑dotenv setup and a modern pydantic‑settings approach, including Docker integration and security best practices.
DockerFastAPIbackend configuration
0 likes · 6 min read

This article explains the concept of static‑dynamic separation in web architecture, outlines its performance and maintenance benefits, and provides detailed Nginx configuration examples—including location blocks for static assets, API proxying, and fallback routing—to illustrate how to implement the technique effectively.
NGINXWeb Performancebackend configuration
0 likes · 4 min read

This article explains the default Tomcat settings in Spring Boot 2.7.10, details core parameters such as connection queue length, max connections, thread pool sizes, keep-alive and timeout options, and demonstrates how to inspect and test these configurations with code examples and command-line tools.
JavaTomcatbackend configuration
0 likes · 16 min read

This guide explains how to configure Nginx load balancing and reverse‑proxy features, covering upstream blocks, server directives, ip_hash, logging variables, and essential proxy_* directives with clear code examples and usage tips.
NGINXbackend configurationload balancing
0 likes · 11 min read

This guide explains step‑by‑step how to modify source files and configuration settings in Nginx, Apache, and Tomcat to replace version strings with custom placeholders, then recompile or repack the binaries, effectively hiding server version details from clients.
ApacheTomcatbackend configuration
0 likes · 2 min read

Learn how to protect MySQL servers by using Nginx as a stream proxy, configure the required modules, set up listening ports, and restrict access to specific IP addresses, enabling safe remote connections for developers.
IP access controlMySQLStream Module
0 likes · 7 min read

This comprehensive guide explains how to configure Nginx as a static file server, set up location mappings, implement reverse proxying, apply various load‑balancing strategies, use custom variables, and manage directives such as rewrite, return, error_page, logging, and access control.
NGINXStatic Serverbackend configuration
0 likes · 15 min read

To meet rapid growth and diverse user needs, Vivo’s Game Center adopted a modular architecture that separates visual templates from data, enabling reusable UI components, configurable page assembly, and AB‑test driven experimentation, which together cut release cycles, streamline backend workflows, and boost scalability and developer productivity.
AB TestingComponent-Based ArchitectureFrontend Development
0 likes · 17 min read

This article explains how Nginx implements rate limiting using the leaky‑bucket algorithm, walks through basic and advanced configurations—including zones, burst, nodelay, whitelists, multiple limits, logging, custom status codes, and request denial—while providing complete configuration examples.
Leaky BucketNGINXbackend configuration
0 likes · 13 min read

This article explains how Nginx implements rate limiting using the leaky‑bucket algorithm, walks through basic directives like limit_req_zone and limit_req, and demonstrates advanced features such as burst, nodelay, whitelisting, multiple limit rules, logging, custom status codes, and request denial.
NGINXbackend configurationburst
0 likes · 13 min read

This guide walks through HAProxy's role as a high‑performance, layer‑4/7 load balancer, details its installation, compilation, configuration files, integration with Keepalived for failover, troubleshooting tips, and testing procedures to build a resilient web service architecture.
HAProxyHigh AvailabilityKeepalived
0 likes · 14 min read


58 TechApr 25, 2019 · Information Security
When switching from HTTP to HTTPS, Tomcat fails to retrieve the client IP via X-Forwarded-For because of RemoteIpValve configuration and Nginx proxy settings, leading to null values and requiring adjustments in server.xml and Nginx headers to correctly propagate the original client IP.
HTTPSIP SpoofingRemoteIpValve
0 likes · 7 min read
