News for hackers. Stuff that matters.
Re:Ask HN: Cheapest/easiest way to host a static site? by zck on Friday March 26, 2021 @06:02PM (#26597516)
Yeah! The command I use is: `rsync --recursive -vv --delete --filter="protect /.well-known" /path/to/site/on/local/box [email protected]:/home/public/`

I add `--delete` to clean up any files I might've created on the box (e.g., to test .htaccess), and then `--filter="protect /.well-known" so that I keep any files related to serving as https.

There are no comments on this comment yet.