Lucy Robillard
lucyrobillard.xyz
Lucy Robillard
@lucyrobillard.xyz
she/they/fae
Just a silly little trans gal doing her best.

My opinions are my own and do not represent the views of City Year or AmeriCorps.

I am not an attorney and, therefore, cannot give legal advice about immigration or any other legal matters.
Reposted by Lucy Robillard
Always 💖

Don't make me tap the sign
November 6, 2024 at 5:42 AM
```
ssl_certificate /etc/path/to/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/path/to/privkey.pem; # managed by Certbot
}
```
Be sure to link it in your `sites-enabled` and restart nginx.

Also, hopefully this thing is readable, 300 characters per post is *not* a lot.
November 25, 2024 at 11:26 PM
```
# Required for WebSocket to work
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
```
November 25, 2024 at 11:26 PM
```
location / {
# Pass information to proxy
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $host;

proxy_pass 127.0.0.1:3000;
```
November 25, 2024 at 11:26 PM
```
# For certbot to do its thing
location /.well-known/acme-challenge/ {
proxy_pass http:://127.0.0.1:3000/$request_uri;
}
}

server {
listen 443 ssl;
listen [::]:443 ssl;

server_name bluesky.example.xyz;
```
November 25, 2024 at 11:26 PM
II. Nginx file
Your Nginx file should look something like this:
```
server {
listen 80;
listen [::]:80;

server_name bluesky.example.xyz;

location / {
return 301 $host$request_uri;
}
```
November 25, 2024 at 11:26 PM
3. Edit `/etc/systemd/system/pds.service` to launch with the `--remove-orphans` option):
`ExecStart=/usr/bin/docker compose --file /pds/compose.yaml up --detach --remove-orphans`
4. Restart `pds.service`:
`systemctl restart pds.service`
November 25, 2024 at 11:26 PM
I. Get rid of Caddy
1. Open the file `/pds/compose.yaml`
2. Comment out the lines dealing with Caddy or just delete them:
```
caddy:
some stuff
```
November 25, 2024 at 11:26 PM
Little guide for anyone trying to set up a Bluesky instance with nginx.
November 25, 2024 at 11:26 PM
Okay, I *finally* got everything set up and working with my Bluesky instance on my server! I am on Bluesky!
November 25, 2024 at 11:01 PM