mirror of
https://github.com/YunoHost-Apps/drupal7_ynh.git
synced 2024-09-03 18:26:19 +02:00
Merge pull request #39 from YunoHost-Apps/testing
[fix] Private uploaded files
This commit is contained in:
commit
1cd86f016d
2 changed files with 2 additions and 2 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)$ {
|
||||
|
|
|
@ -81,7 +81,7 @@ ynh_script_progression --message="Restoring PHP-FPM configuration..."
|
|||
ynh_restore_file --origin_path="/etc/php/$phpversion/fpm/pool.d/$app.conf"
|
||||
|
||||
# Recreate a dedicated php-fpm config
|
||||
ynh_add_fpm_config --usage=low --footprint=low --package="$extra_php_dependencies"
|
||||
ynh_add_fpm_config --package="$extra_php_dependencies"
|
||||
phpversion=$(ynh_app_setting_get --app=$app --key=phpversion)
|
||||
|
||||
#=================================================
|
||||
|
|
Loading…
Reference in a new issue