This pyramid app can be used as a cache proxy for buildout config files stored remotly.
If a host is temporarily unavailable the cache file will be served.
Functionnalities :
- Cache proxy for buildout files
- Cache duration per domain
- Login / password configuration
- Limitation on allowed domains
The folder where the cached files will be stored, this should be an absolute path
example : buildout_proxy.directory = /tmp
default : /tmp
The list of allowed hosts
example :
buildout_proxy.allow.hosts =
*github.com
affinitic.be
default : *
The absolute path to a list of login/password for domains
example : buildout_proxy.hosts.passwords = /tmp/.password
file format example :
github.com = login:password
affinitic.be = login:password
The list of allowed routes
example :
buildout_proxy.allow.routes =
resource
merged
allowed values :
resource
merged
merged_section
default : resource
The default cache duration for files (in seconds)
example : buildout_proxy.cache.default = 86400
default : 86400
The cache duration per domain (in seconds)
example :
affinitic.be;ever
*github.com;never
google.com;3600
allowed values :
never
ever
integer