mirror of
https://github.com/YunoHost-Apps/backdrop_ynh.git
synced 2024-09-03 20:36:14 +02:00
fix
This commit is contained in:
parent
3c4137773b
commit
0b100eb229
3 changed files with 6 additions and 4 deletions
|
@ -10,8 +10,9 @@ location __PATH__/ {
|
||||||
}
|
}
|
||||||
|
|
||||||
index index.php;
|
index index.php;
|
||||||
|
|
||||||
if (!-e $request_filename) {
|
if (!-e $request_filename) {
|
||||||
rewrite ^__PATH__/(.+)$ __PATH__/index.php?q=$1 last;
|
rewrite ^__PATH__/(.*)$ __PATH__/index.php?q=$1 last;
|
||||||
}
|
}
|
||||||
|
|
||||||
try_files $uri $uri/ index.php;
|
try_files $uri $uri/ index.php;
|
||||||
|
|
|
@ -13,7 +13,8 @@
|
||||||
* https://api.backdropcms.org/database-configuration
|
* https://api.backdropcms.org/database-configuration
|
||||||
*/
|
*/
|
||||||
$database = 'mysql://__DBNAME__:__DBPWD__@localhost/__DBNAME__';
|
$database = 'mysql://__DBNAME__:__DBPWD__@localhost/__DBNAME__';
|
||||||
$database_prefix = '';
|
$database_prefix = '__DBNAME___';
|
||||||
|
$database_charset = 'utf8mb4';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Site configuration files location.
|
* Site configuration files location.
|
||||||
|
|
|
@ -117,8 +117,8 @@ ynh_store_file_checksum --file="$final_path/settings.php"
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
# Set permissions to app files
|
# Set permissions to app files
|
||||||
chown -R root: $final_path
|
chown -R $app:www-data $final_path
|
||||||
chown -R $app:www-data $final_path/files
|
#chown -R $app:www-data $final_path/files
|
||||||
chmod -R 770 $final_path/files
|
chmod -R 770 $final_path/files
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Reference in a new issue