website-3 nginx 404

website.git · Tickets

A Website Ticket (Closed):

Ticket · History

Symptom

When moving from a CDN to the VPS (website-4 Move to VPS) 404 pages now return the standard nginx 404 page, rather than https://grahp.dev/404.

Problem

404 pages are not served as website pages.

Solution

Add extraConfig = '' error_page 404 /404.html; ''; to the website config.