1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/framaforms_ynh.git synced 2024-09-03 18:36:12 +02:00

[fix] Get private uploaded files

This commit is contained in:
ljf (zamentur) 2020-10-28 19:03:56 +01:00 committed by GitHub
parent d453a9b05f
commit 9e3248c143
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)$ {