- Aug 22, 2021
- Aug 21, 2021
-
-
gbe authored
-
gbe authored
-
gbe authored
-
gbe authored
-
gbe authored
-
gbe authored
-
gbe authored
- deploy.sh takes a binary from stdin, moves it to the right place and restarts the service - authorized_keys configures auth for the deployment user - rc contains the FreeBSD rc script for the service
-
gbe authored
-
gbe authored
-
- Jul 10, 2021
-
-
gbe authored
`logger` is a closure here, so overwriting it on every request isn't a good idea.
-
gbe authored
-
gbe authored
-
gbe authored
It's easier to use and set up than logrus, and the API is a bit nicer (no distinction between a logger and a log entry, for example).
-
gbe authored
-
gbe authored
This way, failed authentication also has a request ID and such
-
gbe authored
-
gbe authored
-
gbe authored
-
gbe authored
If a commit fails, we return its error as the error of the function that called it.
-
gbe authored
-
gbe authored
-
gbe authored
-
- Jul 09, 2021
-
-
gbe authored
If we're behing a proxy such as Caddy, the remote address will be that of the proxy, so we have to use the X-Forwarded-For header that the proxy injects instead.
-
- Jul 07, 2021