Skip to content

Commit

Permalink
Fix missing proto in redirect example, fix rsync usage (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
mac-chaffee authored Oct 13, 2024
1 parent db6cecd commit aa9dec9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions posts/pgs.md
Original file line number Diff line number Diff line change
Expand Up @@ -227,8 +227,8 @@ Our recommended solution is to create a separate project with just a
1. Create a `_redirects` file with a `301` to naked domain:

```bash
echo "/* naked-domain.com 301" >> _www_redirects
rsync _www_redirects pgs.sh:/www-proj/_redirects
echo "/* https://naked-domain.com 301" >> _www_redirects
rsync "$PWD/_www_redirects" pgs.sh:/www-proj/_redirects
```

2. Add a `www` CNAME and TXT record to point to www project
Expand Down Expand Up @@ -365,7 +365,7 @@ We have three options:

```bash
# access to anyone with a public key
ssh pgs.sh acl project-x --type pubkeys
ssh pgs.sh acl project-x --type pubkeys

# access only to public keys provided
ssh pgs.sh acl project-x --type pubkeys --acl sha256:xxx --acl sha256:yyy
Expand Down

0 comments on commit aa9dec9

Please sign in to comment.