mirror of
https://github.com/YunoHost-Apps/bozon_ynh.git
synced 2024-09-03 18:16:09 +02:00
fix
This commit is contained in:
parent
ee8f8cfb28
commit
81807d32b3
2 changed files with 5 additions and 6 deletions
|
@ -5,7 +5,7 @@ location YNH_EXAMPLE_PATH {
|
|||
rewrite ^ https://$server_name$request_uri? permanent;
|
||||
}
|
||||
client_max_body_size 10G;
|
||||
# Example PHP configuration
|
||||
|
||||
index index.php;
|
||||
try_files $uri $uri/ index.php;
|
||||
location ~ [^/]\.php(/|$) {
|
||||
|
|
|
@ -35,11 +35,10 @@ sudo yunohost app setting $app domain -v "$domain"
|
|||
sudo yunohost app setting $app path -v "$path"
|
||||
|
||||
# Download bozon
|
||||
cd $parent_path
|
||||
sudo wget https://github.com/broncowdd/BoZoN/archive/master.zip
|
||||
sudo unzip master.zip
|
||||
sudo rm master.zip
|
||||
sudo mv BoZoN-master $app
|
||||
sudo wget https://github.com/broncowdd/BoZoN/archive/master.zip -O $parent_path
|
||||
sudo unzip $parent_path/master.zip
|
||||
sudo rm $parent_path/master.zip
|
||||
sudo mv $parent_path/BoZoN-master $parent_path/$app
|
||||
|
||||
# Copy files to final folder and set permissions
|
||||
sudo find $final_path -type f -name ".htaccess" | xargs sudo rm
|
||||
|
|
Loading…
Reference in a new issue