
I self-hosted Directus — PUBLIC_URL sent asset links to the wrong host
I wanted a Studio and APIs on top of Postgres I already understand. Directus came up on Ubuntu 24.04, then redirects and file URLs ignored my domain until PUBLIC_URL was the full HTTPS address Directus docs warn about.
Jul 22, 2026 · 2 min read