How to setup Caddy with Let's Encrypt using Docker Compose
Run Caddy with Docker Compose to enable HTTPS and get a Let's Encrypt certificate, including domain validation and automatic renewal.
LINUX / SYSTEMS / OPEN SOURCE
Things tried, problems solved, and lessons from looking after systems. Kept for reference. Shared for the next person.
The story behind the blog
Run Caddy with Docker Compose to enable HTTPS and get a Let's Encrypt certificate, including domain validation and automatic renewal.
THE JOURNAL
A new case let me add NVMe M.2 storage to my Raspberry Pi. Here is how I installed Raspberry Pi OS using rpi-imager from console mode.
There are two ways to configure Raspberry Pi OS to boot into console or GUI mode. First, run # raspi-config, select "System Options", then "Boot / Auto Login".
Raspberry Pi OS provides raspi-config for configuring Wi-Fi from the command line, including country settings needed for some 5 GHz connections.
An SSH connection may fail with no matching host key type found when a newer client disables ssh-rsa and ssh-dss. These options configure compatibility.
When an application or PostgreSQL query encounters an advisory lock, identify and terminate the query holding it so the system can continue.
If curl reports "SSL_ERROR_RX_RECORD_TOO_LONG" after configuring nginx, the server is returning the wrong HTTP protocol: plaintext HTTP instead of encrypted HTTPS.
FROM THE ARCHIVE
Revisit earlier work and answers kept under their original publication dates.
Browse the archive by yearFIND YOUR NEXT READ