FreeBSD Bugzilla – Attachment 245270 Details for
Bug 274085
www/caddy: Add forcereload command to rc script
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed patch for www/caddy (with commit message and reloadssl)
file_274085.txt (text/plain), 1.25 KB, created by
Tom MTT.
on 2023-09-27 06:49:41 UTC
(
hide
)
Description:
Proposed patch for www/caddy (with commit message and reloadssl)
Filename:
MIME Type:
Creator:
Tom MTT.
Created:
2023-09-27 06:49:41 UTC
Size:
1.25 KB
patch
obsolete
>From 005947c39831453d79571f243457be1d5532e911 Mon Sep 17 00:00:00 2001 >From: "Tom MTT." <tom@heimdall.pm> >Date: Mon, 25 Sep 2023 19:16:53 +0200 >Subject: [PATCH] www/caddy: add reloadssl command to rc script > >External TLS certificates are not reloaded by `caddy reload` unless >Caddy's configuration has changed. Caddy added a `--force` flag which >makes it reload everything (including TLS certs) no matter what for this >use case. > >Currently, the caddy rc script has a `reload` directive which does a regular >Caddy reload (which doesn't reload external certificates). This patch adds a >`reloadssl` command which makes Caddy reload TLS certs (using `caddy reload >--force`). >--- > www/caddy/files/caddy.in | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/www/caddy/files/caddy.in b/www/caddy/files/caddy.in >index 17724715a..af606c490 100644 >--- a/www/caddy/files/caddy.in >+++ b/www/caddy/files/caddy.in >@@ -70,9 +70,10 @@ else > fi > > # Extra Commands >-extra_commands="configtest reload" >+extra_commands="configtest reload reloadssl" > configtest_cmd="caddy_execute validate ${caddy_flags}" > reload_cmd="caddy_execute reload ${caddy_flags}" >+reloadssl_cmd="caddy_execute reload --force ${caddy_flags}" > > caddy_execute() > { >-- >2.42.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 274085
:
245223
|
245232
| 245270