1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/drupal7_ynh.git synced 2024-09-03 18:26:19 +02:00

[fix] Private uploaded files

This commit is contained in:
ljf (zamentur) 2020-10-28 19:06:04 +01:00 committed by GitHub
parent 9c64dfab30
commit 335cc8b06f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -75,7 +75,7 @@ location __PATH__/ {
# Handle private files through Drupal. Private file's path can come
# with a language prefix.
location ~ ^(/[a-z\-]+)?/system/files/ {
try_files $uri /index.php?$query_string;
rewrite ^((/[a-z\-]+)?/system/files/(.+))$ /index.php?q=$1 last;
}
location ~* \.(js|css|png|jpg|jpeg|gif|ico|svg)$ {