From owner-freebsd-ports-bugs@freebsd.org Fri Oct 25 00:03:05 2019 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 10E8B15E3B4 for ; Fri, 25 Oct 2019 00:03:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 46zkpJ6cfxz3Jwl for ; Fri, 25 Oct 2019 00:03:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id E30C115E3AE; Fri, 25 Oct 2019 00:03:04 +0000 (UTC) Delivered-To: ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E2C8E15E3AD for ; Fri, 25 Oct 2019 00:03:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46zkpJ4m6bz3Jwj for ; Fri, 25 Oct 2019 00:03:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 6B2301E158 for ; Fri, 25 Oct 2019 00:03:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x9P034Gr063659 for ; Fri, 25 Oct 2019 00:03:04 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x9P034vO063658 for ports-bugs@FreeBSD.org; Fri, 25 Oct 2019 00:03:04 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 241481] www/caddy allow options in rc file Date: Fri, 25 Oct 2019 00:03:02 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: courtney.hicks1@icloud.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc flagtypes.name attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Oct 2019 00:03:05 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D241481 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@FreeBSD.org Reporter: courtney.hicks1@icloud.com CC: fabian.freyer@physik.tu-berlin.de CC: fabian.freyer@physik.tu-berlin.de Flags: maintainer-feedback?(fabian.freyer@physik.tu-berlin.de ) Created attachment 208590 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D208590&action= =3Dedit Revised caddy rc file I just started using Caddy, and encountered an error where for whatever rea= son, one of my servers was failing the tls-alpn challenge when getting a cert fr= om 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=3D"-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 attac= hed it. Thank you, Courtney --=20 You are receiving this mail because: You are the assignee for the bug.=