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/benharr.is), 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://benharr.is/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;
}

Comments

Leave a Reply