mirror of
https://github.com/YunoHost-Apps/drupal7_ynh.git
synced 2024-09-03 18:26:19 +02:00
Merge pull request #28 from YunoHost-Apps/fix-private-uploaded-files
[fix] Private uploaded files
This commit is contained in:
commit
c6af14c19b
1 changed files with 1 additions and 1 deletions
|
@ -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)$ {
|
||||
|
|
Loading…
Add table
Reference in a new issue