Page MenuHomeDevCentral

Fix Zed nginx config stat issue
ClosedPublic

Authored by dereckson on Apr 13 2026, 21:34.
Tags
None
Referenced Files
F30628615: D4063.diff
Mon, May 25, 13:30
Unknown Object (File)
Fri, May 22, 14:22
Unknown Object (File)
Tue, May 19, 03:54
Unknown Object (File)
Wed, May 13, 20:32
Unknown Object (File)
Sat, May 9, 15:55
Unknown Object (File)
Thu, May 7, 08:32
Unknown Object (File)
Tue, May 5, 21:41
Unknown Object (File)
Tue, May 5, 21:08
Subscribers
None

Details

Summary

nginx was checking if the file request_filename existed at each request.

Fixes the following issue:
2026/04/13 21:10:27 [crit] 97679#103893: *336960 stat() "request_filename" failed (13: Permission denied)

This is a follow-up for 79263880.

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

dereckson created this revision.

This is a temporary fix to fix the current error.

In a longer term, the nginx configuration should evolve in a try_files block and use a separate location for caching.

Not easy because Dojo has a lot of extensions.

For example, we would like to do something like:

location ~* \.(css|js|png|jpg|jpeg|gif|ico|svg|webp|avif|woff|woff2|ttf|eot)$ {
    expires 30d;
    access_log off;
    log_not_found off;
}

But Dojo has files css|gif|gz|html|ico|jpg|js|json|mov|png|svg|ttf|txt|xml|xsd|xsl + legacy stuff like swf/fla/htc
As those files are loaded by JS code, not straightforward either to get a comprehensive list.

dereckson retitled this revision from Fix Zed nginx configration stat issue to Fix Zed nginx config stat issue.Apr 13 2026, 21:42
This revision is now accepted and ready to land.Apr 18 2026, 22:26
This revision was automatically updated to reflect the committed changes.