Commit Graph

12 Commits

Author SHA1 Message Date
Jack Grigg e3a4e4c815 Print something as early as possible to the logs so fly.io sees it 2023-11-28 02:44:41 +00:00
Jack Grigg e62630edd6 axum 0.7, askama_axum 0.4, tower-http 0.5 2023-11-28 02:33:13 +00:00
Jack Grigg aaf3378ebd axum 0.6, askama 0.12, askama_axum 0.3 2023-11-28 02:24:37 +00:00
Jack Grigg 613342c998 cargo update 2023-11-28 02:05:37 +00:00
Jack Grigg b874fbe2dc redirect: Fetch the host from the request headers
`Request::uri` doesn't contain the original host.
2022-05-25 21:56:34 +00:00
Jack Grigg ca28d2a534 Add redirection from `p.z.cash` to `https://protocol.z.cash` 2022-05-25 21:44:36 +00:00
Jack Grigg 3de329fb93 fly.io: Increase TCP check grace period to 5 seconds
This should help with the "Main child exited normally with code: 0"
errors when the app server is slow to start.
2022-05-18 13:06:12 +00:00
Jack Grigg e7f5100d84 Change internal port to 8080 2022-05-18 12:14:12 +00:00
Jack Grigg ba1a418ace cargo update 2022-05-17 23:21:27 +00:00
Jack Grigg a2801de697 Set up automatic deployment to fly.io 2022-05-04 14:05:33 +00:00
Jack Grigg 955f0808c5 Set up basic identifier routing
For now, we hard-code two kinds of identifiers:
- `TCR:foobar`, which links to the `foobar` rule in the "Transaction
  Consensus Rules" section of the Zcash Protocol Specification.
- `zip-spam:eggs`, which links to the "eggs" anchor in ZIP `spam`.
2022-05-04 13:58:31 +00:00
Jack Grigg dad3a20aa3 Empty website crate 2022-05-04 13:58:31 +00:00