mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 15:12:02 +00:00
fix(sg): start Caddy admin server before caddy trust (#58928)
fix(sg): start Caddy admin before `caddy trust` From docs: This command will attempt to connect to Caddy's admin API to fetch the root certificate, using the GET /pki/ca/<id>/certificates endpoint. If the admin server is not running at the moment, the GET request will not succeed, and the certificate won't be installed correctly.
This commit is contained in:
parent
86180de04a
commit
5b40640349
@ -29,4 +29,6 @@ chmod +x "${target}"
|
||||
|
||||
popd >/dev/null
|
||||
|
||||
exec "${target}" "$@"
|
||||
trap '${target} stop' EXIT SIGINT
|
||||
eval "${target} start"
|
||||
"${target}" "$@"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user