Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | fix certificate acquisition when listen sockets are passed | Alan Pearce | 2024-06-29 | -18/+28 |
| | ||||
* | move public directory out of git repository | Alan Pearce | 2024-06-29 | -7/+13 |
| | ||||
* | tls: strip IPv6 brackets before enabling certmagic | Alan Pearce | 2024-06-29 | -1/+6 |
| | ||||
* | remove unnecessary assignments | Alan Pearce | 2024-06-28 | -4/+2 |
| | ||||
* | remove h2c support | Alan Pearce | 2024-06-28 | -27/+1 |
| | ||||
* | set server headers to be similar to certmagic's defaults | Alan Pearce | 2024-06-28 | -1/+4 |
| | ||||
* | use pointers for builder configuration | Alan Pearce | 2024-06-28 | -2/+2 |
| | ||||
* | use socket passing also for TLS | Alan Pearce | 2024-06-28 | -20/+7 |
| | ||||
* | log configured HTTP/S ports instead of defaults | Alan Pearce | 2024-06-28 | -2/+2 |
| | ||||
* | simplify output directory tree | Alan Pearce | 2024-06-28 | -2/+2 |
| | ||||
* | use pointer to config in builder & templates | Alan Pearce | 2024-06-27 | -1/+1 |
| | ||||
* | fix redirect loops on non-standard ports | Alan Pearce | 2024-06-27 | -1/+3 |
| | ||||
* | remove firewall warning on macOS | Alan Pearce | 2024-06-27 | -0/+1 |
| | ||||
* | avoid redirect chains (http -> https, host1 -> host2) | Alan Pearce | 2024-06-27 | -23/+80 |
| | ||||
* | require only ACME_CA for TLS in development | Alan Pearce | 2024-06-27 | -5/+14 |
| | | | | | It makes sense to add the CA root certificate to the system trust store so that user agents don't produce warnings | |||
* | enable TLS for local development (using caddy as acme server) | Alan Pearce | 2024-06-26 | -24/+63 |
| | ||||
* | default redirect to true | Alan Pearce | 2024-06-26 | -2/+2 |
| | ||||
* | reorganise server startup | Alan Pearce | 2024-06-26 | -7/+8 |
| | ||||
* | fix empty initial build in dev | Alan Pearce | 2024-06-26 | -7/+0 |
| | ||||
* | set default TLS server name | Alan Pearce | 2024-06-26 | -0/+1 |
| | ||||
* | be quieter on fs updates | Alan Pearce | 2024-06-25 | -1/+1 |
| | ||||
* | add missing error checks | Alan Pearce | 2024-06-25 | -2/+9 |
| | ||||
* | refactor server startup | Alan Pearce | 2024-06-25 | -16/+15 |
| | ||||
* | build with ko instead of nix | Alan Pearce | 2024-06-25 | -7/+11 |
| | ||||
* | fetch and build site on server start | Alan Pearce | 2024-06-25 | -12/+40 |
| | ||||
* | refactor/format | Alan Pearce | 2024-06-25 | -3/+4 |
| | ||||
* | don't log URL scheme | Alan Pearce | 2024-06-25 | -5/+0 |
| | ||||
* | make hostname-based redirection configurable | Alan Pearce | 2024-06-24 | -7/+10 |
| | ||||
* | log scheme directly from request | Alan Pearce | 2024-06-24 | -1/+1 |
| | ||||
* | handle TLS in server with ACME | Alan Pearce | 2024-06-24 | -15/+88 |
| | ||||
* | (automatically) format with golines | Alan Pearce | 2024-06-23 | -1/+3 |
| | ||||
* | log origin of server listener (i.e. listenfd or not) | Alan Pearce | 2024-06-19 | -0/+1 |
| | ||||
* | fix dev server/live reload | Alan Pearce | 2024-06-19 | -13/+49 |
| | ||||
* | extract socket passing protocol handler to package | Alan Pearce | 2024-06-18 | -3/+7 |
| | ||||
* | hash style elements during build step | Alan Pearce | 2024-06-13 | -3/+17 |
| | ||||
* | enable changes to styles in dev mode | Alan Pearce | 2024-06-13 | -0/+1 |
| | ||||
* | server: listen on socket provided by system(f)d, if available | Alan Pearce | 2024-06-13 | -1/+10 |
| | ||||
* | server: automatically build, re-build and reload in dev | Alan Pearce | 2024-06-11 | -9/+116 |
| | ||||
* | server: remove sentry | Alan Pearce | 2024-06-11 | -25/+3 |
| | ||||
* | fix Host weirdness on fly with h2c | Alan Pearce | 2024-05-24 | -0/+6 |
| | ||||
* | enable overriding base URL | Alan Pearce | 2024-05-24 | -4/+10 |
| | ||||
* | fix redirection to wrong hostname | Alan Pearce | 2024-05-24 | -11/+10 |
| | ||||
* | refactor: remove unnecessary package-global variable | Alan Pearce | 2024-05-24 | -3/+1 |
| | ||||
* | server: support h2c | Alan Pearce | 2024-05-24 | -4/+11 |
| | ||||
* | send 204 No Content to /health | Alan Pearce | 2024-05-23 | -1/+1 |
| | ||||
* | don't log requests to /health | Alan Pearce | 2024-05-23 | -0/+3 |
| | ||||
* | refactor: simplify logging of Host header | Alan Pearce | 2024-05-22 | -11/+2 |
| | | | | | since net/http doesn't accept requests without a Host header, there's no need for a fallback | |||
* | refactor: lint with golangci-lint | Alan Pearce | 2024-05-22 | -11/+14 |
| | ||||
* | refactor: split server and mux | Alan Pearce | 2024-05-22 | -214/+51 |
| | ||||
* | fix logging of host header | Alan Pearce | 2024-05-22 | -1/+1 |
| | | | | | | why on earth does net/http **remove** the host header and not make it clear? It's only "documented" in the comments of the fields of the Request struct and not even hinted at in the Header() documentation |