Moved blog templates to default paths
This commit is contained in:
parent
40665d78d1
commit
9c2ec8241e
55 changed files with 200 additions and 199 deletions
|
@ -15,19 +15,19 @@ properties for the entire bucket.
|
|||
For making a read-only public bucket you need this:
|
||||
|
||||
``` js
|
||||
{
|
||||
"Version": "2008-10-17",
|
||||
"Statement": [{
|
||||
"Sid": "AllowPublicRead",
|
||||
"Effect": "Allow",
|
||||
"Principal": {
|
||||
"AWS": "*"
|
||||
},
|
||||
"Action": ["s3:GetObject"],
|
||||
"Resource": ["arn:aws:s3:::/*"]
|
||||
}]
|
||||
}
|
||||
```
|
||||
{
|
||||
"Version": "2008-10-17",
|
||||
"Statement": [{
|
||||
"Sid": "AllowPublicRead",
|
||||
"Effect": "Allow",
|
||||
"Principal": {
|
||||
"AWS": "*"
|
||||
},
|
||||
"Action": ["s3:GetObject"],
|
||||
"Resource": ["arn:aws:s3:::/*"]
|
||||
}]
|
||||
}
|
||||
```
|
||||
|
||||
Replace <bucket name> for yours and apply changes. With this the entire
|
||||
bucket will be publicy accesible, but if you want to be more restrictive, you
|
||||
|
@ -42,4 +42,4 @@ Hope this helps.
|
|||
---
|
||||
pub_date: 2012-11-23
|
||||
---
|
||||
_template: blog/post.html
|
||||
_template: blog-post.html
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue