1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/librespeed_ynh.git synced 2024-09-03 19:36:23 +02:00

move right place + change max upload size

This commit is contained in:
rungeard 2021-05-12 18:30:29 +02:00
parent 7fa622ccab
commit c9884ad30f
2 changed files with 5 additions and 5 deletions

View file

@ -13,7 +13,7 @@ location __PATH__/ {
index index.html;
# Common parameter to increase upload size limit in conjunction with dedicated php-fpm file
#client_max_body_size 50M;
client_max_body_size 50M;
try_files $uri $uri/ /index.php;
location ~ [^/]\.php(/|$) {

View file

@ -121,9 +121,7 @@ ynh_setup_source --dest_dir="$final_path"
mv $final_path/'example-singleServer-full.html' "$final_path/index.html"
chmod 750 "$final_path"
chown -R $app:www-data $final_path
chmod o-rwx $final_path
#=================================================
@ -176,7 +174,9 @@ ynh_replace_string --match_string="enable_id_obfuscation = false" --replace_stri
#=================================================
# GENERIC FINALIZATION
#=================================================
chmod 750 "$final_path"
chown -R $app:www-data $final_path
chmod o-rwx $final_path
#=================================================
# SETUP SSOWAT
#=================================================