Skip to content

docs(refactor): note accepted dotfile-leak on ServBay Caddy#48

Merged
bigin merged 1 commit into
masterfrom
docs/refactor-known-limitation
May 15, 2026
Merged

docs(refactor): note accepted dotfile-leak on ServBay Caddy#48
bigin merged 1 commit into
masterfrom
docs/refactor-known-limitation

Conversation

@bigin
Copy link
Copy Markdown
Owner

@bigin bigin commented May 15, 2026

After the live deploy on https://scriptor.cms, the /.htaccess file is served byte-for-byte by Caddy because ServBay's bundled php-rewrite-default snippet has no dotfile-block rule. Decision: accepted — the file only enumerates Apache fallback rules, and the real sensitive paths (boot/, vendor/, data/, .git/) all live OUTSIDE public/ and stay physically unreachable.

Documented for future-self plus the Caddy snippet to enable the block if ServBay-local hygiene matters later. The Hetzner demo already ships dotfile-block via docker/nginx.conf.

After the live deploy on https://scriptor.cms, the `/.htaccess`
file is served byte-for-byte by Caddy because ServBay's bundled
`php-rewrite-default` snippet has no dotfile-block rule. Decision:
accepted — the file only enumerates Apache fallback rules, and the
real sensitive paths (boot/, vendor/, data/, .git/) all live OUTSIDE
public/ and stay physically unreachable.

Documented for future-self plus the Caddy snippet to enable the
block if ServBay-local hygiene matters later. The Hetzner demo
already ships dotfile-block via docker/nginx.conf.
@bigin bigin merged commit 3417294 into master May 15, 2026
@bigin bigin deleted the docs/refactor-known-limitation branch May 15, 2026 06:48
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.

1 participant