You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Drupal nignx configuration blocks loading of all *.txt and *.md files to hide some of the Drupal core files like CHANGELOG.txt. There is an exception for allowing these files from the public filesystem directory (sites/default/files) since those would be files added dynamically (like on a field field) and should not be blocked.
It looks like there is no exception for the private files directory though. In Drupal all private files are loaded through a Drupal handler with the url system/files/* and this is not included in the exception. Since private files are also added dynamically (like on a field field), these should not be blocked by nginx config either.
The Drupal nignx configuration blocks loading of all
*.txt
and*.md
files to hide some of the Drupal core files likeCHANGELOG.txt
. There is an exception for allowing these files from the public filesystem directory (sites/default/files
) since those would be files added dynamically (like on a field field) and should not be blocked.It looks like there is no exception for the private files directory though. In Drupal all private files are loaded through a Drupal handler with the url
system/files/*
and this is not included in the exception. Since private files are also added dynamically (like on a field field), these should not be blocked by nginx config either.Relevant part of the config:
The text was updated successfully, but these errors were encountered: