Skip to content

docs: hardened image with Caddy environment vars#2229

Merged
alexandre-daubois merged 2 commits intomainfrom
docs/hardened-images
Mar 2, 2026
Merged

docs: hardened image with Caddy environment vars#2229
alexandre-daubois merged 2 commits intomainfrom
docs/hardened-images

Conversation

@AlliBalliBaba
Copy link
Contributor

@AlliBalliBaba AlliBalliBaba commented Mar 1, 2026

Adds XDG_CONFIG_HOME and XDG_DATA_HOME to the example hardened image docs, otherwise Caddy will fail to use the nonexistent /home directory instead of /data/caddy and /config/caddy.

Also removes an unnecessary --chown=nonroot:nonroot.

@alexandre-daubois alexandre-daubois merged commit dcfdb2f into main Mar 2, 2026
20 checks passed
@alexandre-daubois alexandre-daubois deleted the docs/hardened-images branch March 2, 2026 07:47
@alexandre-daubois
Copy link
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants