Added some changes that should help with deploying on FreeBSD.
Before it was holding onto my shell that I ran just deploy from, and killed the proc when I hit ctrl+c.
Use _ instead of . in paths.
This is useful for paths like /.well-known, where the previous subject transformation would be invalid, due to two consecutive dots.