I’ve tried to change fpm using socket to listening v4/v6 local port. - no changes or improvements
“freezes” reminds client-side behaviour, not server-side. Anyway, with nginx, this behaviour we do not have it.
2.1) And yes, we have tried to load a mime config by @electerious. Some times some dynamic files may be have issues (perhaps?)
Into shell, many 504 and 502 issues from fpm - logs needed?
Many times, Caddy is going down. A shell file called caddy-reload doesn’t work properly => bind at 80 and 443 already in use (annoying issue)
These things might tell us more about your problems - if you can post your:
Caddy version
Caddyfile
PHP version
Distro and release
Logs (PHP and Caddy)
I’ll take a look and try to find out what’s up.
@perroud looks like you’re having an issue with the variables not being set properly for the Caddy process. What distro/release are you running? Can you post the Caddy unit file you’re using for systemd? Also out of curiosity, why is the systemctl daemon-reload required in your caddy-reload file?