1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/backdrop_ynh.git synced 2024-09-03 20:36:14 +02:00
This commit is contained in:
ericgaspar 2020-10-18 16:06:38 +02:00
parent 3c4137773b
commit 0b100eb229
No known key found for this signature in database
GPG key ID: 574F281483054D44
3 changed files with 6 additions and 4 deletions

View file

@ -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;

View file

@ -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.

View file

@ -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
#================================================= #=================================================