Content Delivery Network (CDN) - optional, for either uploads only or both uploads & extras (rfe 9134)
This commit is contained in:
parent
d6696f8a7e
commit
acd3fded45
8 changed files with 646 additions and 11 deletions
|
|
@ -991,5 +991,19 @@
|
|||
"WebGUI::Shop::TaxDriver::EU"
|
||||
],
|
||||
|
||||
}
|
||||
# Content Delivery Network - for use with WebGUI::Storage
|
||||
# required for CDN: enabled, url, queuePath, syncProgram, deleteProgram
|
||||
# optional for CDN: sslAlt, sslUrl, extrasCdn, extrasSsl, extrasExclude
|
||||
"cdn" : { "enabled" : 0,
|
||||
"url" : "http://content.example.com",
|
||||
"sslAlt" : 0,
|
||||
"sslUrl" : "https://ssl.example.com",
|
||||
"queuePath" : "/data/cdnqueue",
|
||||
"syncProgram" : "/usr/bin/rsync -av --chmod=u+rwx -- '%s' user@content.example.com:/path",
|
||||
"deleteProgram" : "/usr/bin/ssh user@content.example.com 'rm -Rf -- %s'"
|
||||
"extrasCdn" : "http://content.example.com/extras",
|
||||
"extrasSsl" : "https://content.example.com/extras",
|
||||
"extrasExclude": ["tinymce", "^blah$"]
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue