example CDN configuration shouldn't be added to config

This commit is contained in:
Graham Knop 2009-08-19 18:05:24 +00:00
parent 4350966866
commit 4853206ede

View file

@ -1022,17 +1022,17 @@
# Content Delivery Network - for use with WebGUI::Storage # Content Delivery Network - for use with WebGUI::Storage
# required for CDN: enabled, url, queuePath, syncProgram, deleteProgram # required for CDN: enabled, url, queuePath, syncProgram, deleteProgram
# optional for CDN: sslAlt, sslUrl, extrasCdn, extrasSsl, extrasExclude # optional for CDN: sslAlt, sslUrl, extrasCdn, extrasSsl, extrasExclude
"cdn" : { "enabled" : 0, #"cdn" : { "enabled" : 0,
"url" : "http://content.example.com", # "url" : "http://content.example.com",
"sslAlt" : 0, # "sslAlt" : 0,
"sslUrl" : "https://ssl.example.com", # "sslUrl" : "https://ssl.example.com",
"queuePath" : "/data/cdnqueue", # "queuePath" : "/data/cdnqueue",
"syncProgram" : "/usr/bin/rsync -av --chmod=u+rwx -- '%s' user@content.example.com:/path", # "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'", # "deleteProgram" : "/usr/bin/ssh user@content.example.com 'rm -Rf -- %s'",
"extrasCdn" : "http://content.example.com/extras", # "extrasCdn" : "http://content.example.com/extras",
"extrasSsl" : "https://content.example.com/extras", # "extrasSsl" : "https://content.example.com/extras",
"extrasExclude": ["tinymce", "^blah$"] # "extrasExclude": ["tinymce", "^blah$"]
}, # },
#A list of UserAgents of recognized mobile platforms. If useMobileStyle is set in the #A list of UserAgents of recognized mobile platforms. If useMobileStyle is set in the
#Admin settings, then the mobile style will be used for these browsers. #Admin settings, then the mobile style will be used for these browsers.