1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/bozon_ynh.git synced 2024-09-03 18:16:09 +02:00
This commit is contained in:
ewilly 2016-04-04 21:29:46 +02:00
parent ee8f8cfb28
commit 81807d32b3
2 changed files with 5 additions and 6 deletions

View file

@ -5,7 +5,7 @@ location YNH_EXAMPLE_PATH {
rewrite ^ https://$server_name$request_uri? permanent; rewrite ^ https://$server_name$request_uri? permanent;
} }
client_max_body_size 10G; client_max_body_size 10G;
# Example PHP configuration
index index.php; index index.php;
try_files $uri $uri/ index.php; try_files $uri $uri/ index.php;
location ~ [^/]\.php(/|$) { location ~ [^/]\.php(/|$) {

View file

@ -35,11 +35,10 @@ sudo yunohost app setting $app domain -v "$domain"
sudo yunohost app setting $app path -v "$path" sudo yunohost app setting $app path -v "$path"
# Download bozon # Download bozon
cd $parent_path sudo wget https://github.com/broncowdd/BoZoN/archive/master.zip -O $parent_path
sudo wget https://github.com/broncowdd/BoZoN/archive/master.zip sudo unzip $parent_path/master.zip
sudo unzip master.zip sudo rm $parent_path/master.zip
sudo rm master.zip sudo mv $parent_path/BoZoN-master $parent_path/$app
sudo mv BoZoN-master $app
# Copy files to final folder and set permissions # Copy files to final folder and set permissions
sudo find $final_path -type f -name ".htaccess" | xargs sudo rm sudo find $final_path -type f -name ".htaccess" | xargs sudo rm