// Topic
Nginx
7 notes in the notebook.
// article
// article · srs · streaming
Running SRS as a media server without treating it like magic
Streaming Infrastructure · #01
6 min read · series
// article · http · laravel
HTTP 421 and the Host header I should not have set
The endpoint was fine. The payload was fine. One header was not.
2 min read
// article · nginx · php
How a Laravel request actually travels through Nginx → PHP-FPM → Laravel
If index.php never ran, your log file cannot confess.
1 min read
// problem
// problem · http · laravel
HTTP 421 Misdirected Request caused by an incorrect Host header
A 421 that looked like Nginx until the outbound Host header showed up.
1 min read · series · 2 hours
// problem · php · linux
Different PHP versions between CLI and the web server
The command line told the truth about a different binary than PHP-FPM.
1 min read · series · 45 minutes
// problem · nginx · php
Nginx/PHP-FPM 502 that looked like Laravel
The application log was empty because PHP never ran.
1 min read · 90 minutes