Page MenuHomeDevCentral

Fix Zed nginx config stat issue
ClosedPublic

Authored by dereckson on Apr 13 2026, 21:34.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Aug 26, 23:14
Unknown Object (File)
Sun, Aug 23, 02:06
Unknown Object (File)
Sat, Aug 22, 10:36
Unknown Object (File)
Sat, Aug 22, 00:25
Unknown Object (File)
Fri, Aug 21, 20:24
Unknown Object (File)
Fri, Aug 21, 10:18
Unknown Object (File)
Fri, Aug 21, 00:20
Unknown Object (File)
Thu, Aug 20, 08:19
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 Passed
Unit
No Test Coverage
Branch
zed-nginx-issue
Build Status
Buildable 6601
Build 6885: arc lint + arc unit

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.