When reload caddy ,it hangs

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…

  • Connected to localhost ( 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”:“”,“remote_port”:“46754”,“headers”:{“Accept”:[“/”],“Cache-Control”:[“must-revalidate”],“Content-Length”:[“517”],“Content-Type”:[“text/caddyfile”],“User-Agent”:[“curl/7.29.0”]}}

With the provided information we are unable to reproduce the behavior. (What is in a.conf exactly?) Please fill out the help template so we can assist you.

thanks. grace_period maybe useful

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.