Changeset f99bbe8 in Klonkt for README.md


Ignore:
Timestamp:
06/23/2026 10:00:00 PM (3 months ago)
Author:
Robin Genis <roboburr@…>
Branches:
main
Children:
5eef817
Parents:
09ee2bd
Message:

security: bind to 127.0.0.1 by default behind a reverse proxy

New HOST env (default 0.0.0.0 for Docker/back-compat). The VPS installer now
writes HOST=127.0.0.1 and Docker maps the host port to loopback (127.0.0.1:3000:3000)
+ overrides HOST=0.0.0.0 inside the container — so the app is never reachable
directly on its port from the internet, only via the proxy. .env.example defaults
to 127.0.0.1 (manual installs); docs explain it. Existing installs hardened on
re-run of install.sh.

Co-Authored-By: Claude <noreply@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • README.md

    r09ee2bd rf99bbe8  
    115115```
    116116
     117By default the app binds to `127.0.0.1` (via `HOST` in `.env`), so only your
     118reverse proxy can reach it — not the open internet. Local testing on the same
     119machine (`localhost:3000`) still works. Only set `HOST=0.0.0.0` if you need direct
     120external access without a proxy (then open the port in your firewall and add HTTPS
     121yourself).
     122
    117123(`cwebp` is optional — `apt install webp` — for WebP image conversion.)
    118124
Note: See TracChangeset for help on using the changeset viewer.