1.4.10 • Published 1 year ago
s3-ghost v1.4.10
S3 Ghost
Ghost AWS S3 Storage Adapter
- Use AWS Javascript SDK v3.
- Default cache control: cache in 3 weeks.
How to
From your parent directory of the content
directory (ghost root by default). Run following script
rm -rf content/adapters/storage/s3-ghost
mkdir content/adapters/storage/s3-ghost
cd content/adapters/storage/s3-ghost
yarn init -y
yarn add s3-ghost
cp node_modules/s3-ghost/index.js .
rm -rf node_modules/s3-ghost package.json yarn.lock
- In
config.production.json
add configuration as follows. All keys are required
"storage": {
"active": "s3-ghost",
"s3-ghost": {
"accessKeyId": "<AWS key>",
"secretAccessKey": "<AWS Secret key>",
"bucketName": "<bucket name>",
"region": "<region>",
"assetsBaseUrl": "<CDN url or s3 url>",
"ghostDirectory": "../../../.."
}
Note: ghostDirectory
is the directory where ghost is installed.
It must be an absolute path or relative path to the location where this plugin is installed
1.4.10
1 year ago
1.4.6
2 years ago
1.4.5
2 years ago
1.4.4
2 years ago
1.4.3
2 years ago
1.4.2
2 years ago
1.4.1
2 years ago
1.4.0
2 years ago
1.4.9
2 years ago
1.4.8
2 years ago
1.4.7
2 years ago
1.3.0
3 years ago
1.2.3
3 years ago
1.2.0
3 years ago
1.2.2
3 years ago
1.2.1
3 years ago
1.1.0
4 years ago
1.0.3
4 years ago
1.0.2
4 years ago
1.0.1
4 years ago
1.0.0
4 years ago