diff options
author | Emily <git@emilylange.de> | 2023-08-06 02:09:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-06 00:09:16 +0000 |
commit | 8d304a4566de36219b31e1cb5a636431362c673c (patch) | |
tree | 3d547443cdfe68e108fb40f0b4400941d59499d2 /caddyconfig/caddyfile | |
parent | 65e33fc1ee4798bb3450f6e291bfc88404982636 (diff) |
cmd: Split unix sockets for admin endpoint addresses (#5696)
* cmd: fix cli when admin endpoint uses new unix socket permission format
Fixes a bug where the following Caddyfile
```Caddyfile
{
admin unix/admin.sock|0660
}
```
and `caddy reload --config Caddyfile`
would throw the following error instead of reloading it:
```
INFO using provided configuration {"config_file": "Caddyfile", "config_adapter": ""}
Error: sending configuration to instance: performing request: Post "http://127.0.0.1/load": dial unix admin.sock|0660: connect: no such file or directory
[ERROR] exit status 1
```
---
This bug also affected `caddy start` and `caddy stop`.
* Move splitter function to internal
---------
Co-authored-by: Matthew Holt <mholt@users.noreply.github.com>
Diffstat (limited to 'caddyconfig/caddyfile')
0 files changed, 0 insertions, 0 deletions