[Bug 241481] www/caddy allow options in rc file
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Oct 25 00:03:05 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241481
Bug ID: 241481
Summary: www/caddy allow options in rc file
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: ports-bugs at FreeBSD.org
Reporter: courtney.hicks1 at icloud.com
CC: fabian.freyer at physik.tu-berlin.de
CC: fabian.freyer at physik.tu-berlin.de
Flags: maintainer-feedback?(fabian.freyer at physik.tu-berlin.de
)
Created attachment 208590
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=208590&action=edit
Revised caddy rc file
I just started using Caddy, and encountered an error where for whatever reason,
one of my servers was failing the tls-alpn challenge when getting a cert from
Let's Encrypt. After digging I found that the solution was to add
-disable-tls-alpn-challenge to the command_args variable in
/usr/local/etc/rc.d/caddy, so the command was like this:
command_args="-p ${pidfile} /usr/bin/env ${caddy_env} ${procname}
-disable-tls-alpn-challenge -cpu ${caddy_cpu} -log stdout -conf
${caddy_config_path} -agree -email ${caddy_cert_email} < /dev/null >>
${caddy_logfile} 2>&1"
Can we allow an option so users can set something like this from the
/etc/rc.conf file? I made some modifications to the caddy rc file and attached
it.
Thank you,
Courtney
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list