一种基于容器的Web服务配置方法、装置及介质
By reading container environment variable information after the web system starts, generating valid agent information, and hot-loading differential configurations, the risk of configuration errors and untimely updates caused by manually compiling agent configuration files are solved, and the automatic and timely updates of agent services are realized.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- HANGZHOU HOLLYSYS AUTOMATION
- Filing Date
- 2023-12-29
- Publication Date
- 2026-07-17
AI Technical Summary
Manually compiling the proxy configuration file may lead to the risk of human configuration errors and the inability to update the proxy service in a timely manner.
After the web system starts, it reads the container environment variable information, generates valid proxy information, and determines whether the current configuration file is consistent with the configuration file of the previous cycle. If they are different, it hot-loads the difference configuration information into the web application.
It avoids the risk of configuration errors that may occur when manually compiling proxy configuration files, enables timely updates of proxy services, and takes effect without restarting the web container, thus ensuring the timeliness of container applications.
Smart Images

Figure CN117834417B_ABST