[Bug 246623] www/caddy: Update to 2.0.0
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun May 24 19:32:26 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=246623
--- Comment #8 from Basil Hendroff <basil.hendroff at gmail.com> ---
Hi Daniel,
I'd like to make a further point on the location of the Caddy binary and
Caddyfile. While from a Caddy perspective, the preferred locations for V2 are
/usr/bin/caddy and /etc/caddy/Caddyfile, this doesn't take into account that
FreeBSD has a fairly strict filesystem hierarchy, such that (as I understand
it) anything that isn't part of a base FreeBSD installation lives somewhere
under /usr/local/. More information is available about this at
https://www.freebsd.org/doc/handbook/dirstructure.html and man hier
https://www.freebsd.org/cgi/man.cgi?query=hier&sektion=7&manpath=freebsd-release-ports
Therefore, to accommodate defaults from a Caddy V2 perspective within the
FreeBSD ports framework, the transformation of those locations would likely be:
/usr/bin/caddy -> /usr/local/bin/caddy
/etc/caddy/Caddyfile -> /usr/local/etc/Caddyfile
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list