mirror of
				https://github.com/uklans/cache-domains
				synced 2025-11-04 08:28:53 +01:00 
			
		
		
		
	Fixes #110: Change exmaple from origin to steam
This commit is contained in:
		
							parent
							
								
									5ab391af68
								
							
						
					
					
						commit
						c422436b4f
					
				
							
								
								
									
										25
									
								
								README.md
									
									
									
									
									
										
										
										Normal file → Executable file
									
								
							
							
						
						
									
										25
									
								
								README.md
									
									
									
									
									
										
										
										Normal file → Executable file
									
								
							@ -14,21 +14,20 @@ You can use this list one of two ways:
 | 
				
			|||||||
There is a cache_domains.json file to define CDNs and additional meta deta with the following structure
 | 
					There is a cache_domains.json file to define CDNs and additional meta deta with the following structure
 | 
				
			||||||
 | 
					
 | 
				
			||||||
- cache_domains: Array of cache_domain object
 | 
					- cache_domains: Array of cache_domain object
 | 
				
			||||||
	- name: shortname for the cache domain. Should match `^[0-9A-Za-z]$`
 | 
					    - name: shortname for the cache domain. Should match `^[0-9A-Za-z]$`
 | 
				
			||||||
	- description: a longer description to aid others in identifying what this domain does (not all users of this repo will want to enable all caches)
 | 
					    - description: a longer description to aid others in identifying what this domain does (not all users of this repo will want to enable all caches)
 | 
				
			||||||
	- notes: implementation specific notes which may be useful for other users
 | 
					    - notes: implementation specific notes which may be useful for other users
 | 
				
			||||||
	- domain_files: array of files within the repo assosciated to the cdn. Most cdn's only need one file
 | 
					    - domain_files: array of files within the repo assosciated to the cdn. Most cdn's only need one file
 | 
				
			||||||
	- Example domain entry for origin
 | 
					    - Example domain entry for steam
 | 
				
			||||||
```json
 | 
					```json
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
	"cache_domains": [
 | 
					    "cache_domains": [
 | 
				
			||||||
		{
 | 
					        {
 | 
				
			||||||
			"name": "origin",
 | 
					            "name": "steam",
 | 
				
			||||||
			"description": "CDN for origin",
 | 
					            "description": "CDN for steam platform",
 | 
				
			||||||
			"notes": "Should be enabled for HTTP traffic only or with a HTTPS proxy else origin client download fails",
 | 
					            "domain_files": ["steam.txt"]
 | 
				
			||||||
			"domain_files": ["origin.txt"]
 | 
					        }
 | 
				
			||||||
		}
 | 
					    ]
 | 
				
			||||||
	]
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user