ben blogs

wherever you go, there you are

Bluesky Post Permalinks

I set up a handy way to permalink my bluesky posts with a quick nginx config change.

I use a custom domain as my handle on bluesky (https://bsky.app/profile/did:plc:v7tbr6qxk6xanxzn6hjmbk7o), but have changed it before which has broken some links that I’ve shared elsewhere. See the DID tracker for my handle change history.

As an example, here’s some pics of Shaq Attaq that I posted the other day: https://bhh.sh/post/3k655thdbzv2p. Note that bsky.app is not in the url.

I added this location block to the nginx config for benharr.is:

location ~ ^/post/ {
       return 302 https://bsky.app/profile/did:plc:v7tbr6qxk6xanxzn6hjmbk7o$request_uri;
}

Leave a Reply

Your email address will not be published. Required fields are marked *

To respond on your own website, make a post that contains the link to this post and enter the URL of your response. Want to update or remove your response? Update or delete your post and re-enter your post’s URL again. (Learn More)