Looking for general suggestions, not specific help.
www.ellipticcurve.info {
root * /var/www/html/mediawiki
header /images/* X-Content-Type-Options nosniff
php_fastcgi *.php unix//run/php-fpm/www.sock {
dial_timeout 5ms
lb_retries 6000
lb_try_interval 5ms
lb_try_duration 30s
read_timeout 90s
write_timeout 90s
}
file_server {
hide *.php
}
rewrite {path} /index.php?title={path}
}
With only one socket pool accepting connections, it seems that I need to keep polling it for availability on an extremely short interval of “5ms” or so, or else caddy either fails to connect or drops connections immediately with a 502 error. The server does not seem to be under especially high load, but the default configuration doesn’t seem to work at all for me.
FWIW. Hoping to move to FrankenPHP.