nicholas.cloud

A close call with Nginx and the alias directive

2021-07-15 // 3 min read // #nginx

When Nginx is serving this website, it’s usually serving static files from the local machine. One method to accomplish this is with the alias directive, which substitutes the request location for a filepath. I use it to map requests to nicholas.cloud/files/ to a directory for public file-sharing.

Read more →

If Keybase Can Do It

Recreating the file sharing functionality of Keybase

2020-05-16 // 7 min read // #applescript #nginx #rsync

Keybase has a really nice feature where you can sync files between your devices, and (optionally) make them publicly accessible.

They were also acquired by Zoom last week. While I think it’s too early to say whether this means good or bad things for Keybase, it seemed like a timely opportunity to try recreating this feature I love.

Read more →