Page MenuHomeDevCentral

Fix Zed nginx config stat issue
ClosedPublic

Authored by dereckson on Mon, Apr 13, 21:34.
Tags
None
Referenced Files
Unknown Object (File)
Sun, May 3, 22:57
Unknown Object (File)
Sat, May 2, 08:34
Unknown Object (File)
Thu, Apr 30, 16:27
Unknown Object (File)
Thu, Apr 30, 01:45
Unknown Object (File)
Wed, Apr 29, 13:44
Unknown Object (File)
Tue, Apr 28, 13:34
Unknown Object (File)
Tue, Apr 28, 02:50
Unknown Object (File)
Sat, Apr 25, 23:30
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.Mon, Apr 13, 21:42
This revision is now accepted and ready to land.Sat, Apr 18, 22:26
This revision was automatically updated to reflect the committed changes.