Skip to content
ohsudo, Home

Tags

#php

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

413 Request Entity Too Large
Networking

Nginx "413 Request Entity Too Large": raise the upload limit in the right place

Fix 413 Request Entity Too Large on uploads: set client_max_body_size in nginx, then the limits of PHP, Node.js, the Kubernetes ingress and any proxy in front.

Beginner · 3 min read