Domain name configuration information processing method and device
An information processing method and technology for an information processing device, which are applied in the Internet field, can solve the problems of huge global configuration file capacity, impact on service quality, and long time consumption, and achieve the effects of improving convenience, preventing repeated loading, and improving satisfaction.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
example 1
[0075] domain name www.qq.com For example, the specific execution process is as follows:
[0076] DOMAIN www.qq.com
[0077] logformat %host %timestamp %url %status %resp_size %upstream_addr %upstream_status; the content of this command line is to set the log format as: domain name, request timestamp, requested url, response status code, response size, upstream address, upstream The status code of the response.
[0078] http_access allow all; the content of this command line is: allow all requests to access.
[0079] DOMAIN END
[0080] DOMAIN www.baidu.com
[0081] acl hhh url.*\.mp4\? .* The content of this command line is: define an acl named hhh, this acl matches the request of type mp4.
[0082] logformat %host %timestamp %url %status %resp_size The content of this command line is to set the log format as: domain name, request timestamp, requested url, response status code, and response size.
[0083] http_access allow hhh The content of this command line is: ...
example 2
[0097] first domain name www.qq.com and The second domain name www.baidu.com The corresponding configuration item vector includes 8 configuration items, which are: first parent node configuration information, whether the first parent node can be accessed, second parent node configuration information, whether the second parent node can be accessed, third parent node configuration information , whether the third parent node can be accessed, the configuration information of the fourth parent node, and whether the fourth parent node can be accessed.
[0098] Configuration methods using existing methods include:
[0099] DOMAIN www.qq.com
[0100] cache_peer parent 192.168.100.1 80name=beijing hash
[0101] This configuration indicates that the type of cache_peer is the parent node, the name is beijing, the ip is 192.168.100.1, the port is 80, and the usage method is hash.
[0102] cache_peer_access beijing allow all
[0103] This configuration means that all requests are al...
specific Embodiment
[0177] Set the global file cache.conf to save global general configuration information.
[0178] Send buffer packet size, send_buffer_size 16384
[0179] Maximum object size, maximum_object_size 200GB
[0180] Memory replacement policy, cache_replace_policy lru
[0181] The maximum connection time, connect_timeout 30seconds
[0182] The maximum time for reading, read_timeout 60seconds
[0183] Set the domains folder, and set the domain name configuration file of the first domain name www.qq.com under this domains folder www.qq.com.conf , set the domain name configuration file of the second domain name www.baidu.com under the domains folder www.baidu.com.conf .
[0184] The specific form is:
[0185] domains / www.qq.com.conf
[0186] domains / www.baidu.com.conf
[0187] Start the system, load the global file cache.conf, and load the global common configuration information. At this time, the domain name configuration file of each domain name has not been parsed, and the...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com