|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #80415 nginx 404 error page
Submitted: 2020-11-25 12:52 UTC Modified: 2020-12-15 22:06 UTC
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: contact at kelianbousquet dot com Assigned: sas (profile)
Status: Assigned Package: Website problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: contact at kelianbousquet dot com
New email:
PHP Version: OS:


 [2020-11-25 12:52 UTC] contact at kelianbousquet dot com
When i try to access to wrong url i see a 404 not found nginx page, why not make a custom error page ?

Test script:
go to a wrong url =>

Expected result:
custom error page ?

Actual result:
nginx 404 error page


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2020-11-25 13:51 UTC]
-Summary: Error page in +Summary: nginx 404 error page -Type: Documentation Problem +Type: Bug -Package: Documentation problem +Package: Website problem
 [2020-11-28 10:59 UTC] gunnard at gmail dot com
currently the dev env. returns a custom 404 page and not the blank, default nginx one.
error.php +636
636 // ============================================================================
637 // 404 page for manual pages (eg. not built language)
638 if (strpos($URI, "manual/") === 0) {
639     error_404_manual();
640 }

I would like to see how the /etc/nginx.conf is setup to handle 404s on the server as this could be the issue. Also, the website is behind myracloud CDN and I wounder if certain 404 pages have been cached and need to be cleared.
 [2020-12-15 18:16 UTC] afilina at gmail dot com
I'm also getting the blank 404 nginx page:

I can help with this. I can replicate the conditions locally and send you a config patch, but I need a copy of the nginx site's config file.
 [2020-12-15 22:06 UTC]
-Assigned To: +Assigned To: sas
 [2020-12-15 22:06 UTC]
Assigning to Sascha. I don't know who else might have access to configure the origin server.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 16 23:01:30 2024 UTC