diff options
Diffstat (limited to 'remarks/WR-008.txt')
| -rw-r--r-- | remarks/WR-008.txt | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/remarks/WR-008.txt b/remarks/WR-008.txt new file mode 100644 index 0000000..7d816e5 --- /dev/null +++ b/remarks/WR-008.txt @@ -0,0 +1,48 @@ + + + + + + + +Document: WR-008 P. Webb + 2024.11.18 + + How to use your own domain on Blueksy! + +Body + + In your Settings tab, scroll down to "Advanced" and click on "Change + Handle" and then "I have my own domain." You'll be presented with two + tabs that show you how to change your username to your domain via a + DNS panel (where your domain is hosted) or without one. I chose the + latter for speed. + + You have to upload a file at `YOUR_SITE/.well-known/atproto-did` + containing some random string Bluesky gives you. Easy-peasy. + + I'm currently using nginx for my homepage so I had to add this to my + nginx config: + + ``` + server { + location /.well-known/ { + # Enable directory listing + autoindex on; + + # Allow all methods + allow all; + + # Set proper MIME type for atproto-did + location /.well-known/atproto-did { + default_type application/json; + add_header Access-Control-Allow-Origin *; + add_header Access-Control-Allow-Methods "GET, OPTIONS"; + add_header Access-Control-Allow-Headers "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type"; + } + } + } + ``` + + Run `nginx -t` to ensure no issues occurred from this change and then + `service nginx reload`. You should be good to go! |
