Tags
#php-fpm
upstream sent too big header
Networking
Nginx "upstream sent too big header while reading response header": raise the right buffer
Fix Nginx "upstream sent too big header while reading response header from upstream" and its 502: measure the headers, then raise the right buffer.
Intermediate · 3 min read
Laravel
Networking
Nginx for Laravel with PHP-FPM: production config, permissions and queues
Deploy Laravel on Nginx and PHP-FPM: a complete HTTPS config pointing at public, permissions for storage, the optimize and queue steps, and the errors you may see.
Intermediate · 3 min read
WordPress
Networking
Nginx for WordPress with PHP-FPM: a complete, safe config
Run WordPress on Nginx and PHP-FPM: a complete HTTPS config, pretty permalinks, blocking PHP in uploads, upload limits, caching and the common errors, step by step.
Intermediate · 3 min read
504 Gateway Time-out
Networking
Nginx "504 Gateway Time-out": find out what's slow before raising the timeout
Fix Nginx "504 Gateway Time-out": read the error log, measure the backend, set proxy_read_timeout or fastcgi_read_timeout, and check Cloudflare and load balancers.
Intermediate · 5 min read