when i load caddy:
[root@~ conf]# curl -v http://localhost:2019/load -H “Content-Type: text/caddyfile” -H “Cache-Control: must-revalidate” --data-binary @a.conf
-
About to connect() to localhost port 2019 (#0)
-
Trying 127.0.0.1…
-
Connected to localhost (127.0.0.1) port 2019 (#0)
POST /load HTTP/1.1
User-Agent: curl/7.29.0
Host: localhost:2019
Accept: /
Content-Type: text/caddyfile
Cache-Control: must-revalidate
Content-Length: 517
- upload completely sent off: 517 out of 517 bytes
^C //// hangs here
[root@~ conf]#
just one log
{“level”:“info”,“ts”:1679478268.872901,“logger”:“admin.api”,“msg”:“received request”,“method”:“POST”,“host”:“localhost:2019”,“uri”:“/load”,“remote_ip”:“127.0.0.1”,“remote_port”:“46754”,“headers”:{“Accept”:[“/”],“Cache-Control”:[“must-revalidate”],“Content-Length”:[“517”],“Content-Type”:[“text/caddyfile”],“User-Agent”:[“curl/7.29.0”]}}