Skip to main content

How to Serve Localized NGINX Error Pages Based on Browser Language


by Danila Vershinin, January 20, 2026

Learn how to configure NGINX to serve localized 404 and 500 error pages based on the Accept-Language header. Complete guide with two methods: using the map directive and the accept-language module. Includes tested configurations for Rocky Linux 9 and AlmaLinux 10.

Read More...

NGINX vs PHP-FPM: No input file specified


by Danila Vershinin, June 16, 2019

NGINX vs PHP-FPM: No input file specified. Or how to deal with 404s of missing PHP scripts

Read More...