Support www redirects in Docker install

This commit is contained in:
cyph3rasi
2026-03-07 20:11:40 -08:00
parent 17baf8e4f0
commit 588307d21e
4 changed files with 15 additions and 32 deletions
+2
View File
@@ -25,6 +25,8 @@ docker compose up -d
Done! Your node is live at `https://your-domain.com` with automatic SSL. No build step. No dependencies. No fuss.
Database migrations run automatically on startup and during updates.
Set `DOMAIN` to the canonical host you want Synapsis to live on. If you also create a `www` DNS record, the bundled Caddy setup will redirect `www` to that canonical domain automatically.
If your server already has nginx or another reverse proxy using `80/443`, use the advanced mode instead:
```bash