mirror of
https://github.com/YunoHost-Apps/jappix_ynh.git
synced 2024-09-03 19:26:19 +02:00
Update install
This commit is contained in:
parent
4dccc55487
commit
474077f8b2
1 changed files with 1 additions and 0 deletions
|
@ -34,6 +34,7 @@ sudo chown -R www-data: $final_path
|
||||||
|
|
||||||
# Modify Nginx configuration file and copy it to Nginx conf directory
|
# Modify Nginx configuration file and copy it to Nginx conf directory
|
||||||
sudo sed -i "s@PATHTOCHANGE@$path@g" ../conf/nginx.conf
|
sudo sed -i "s@PATHTOCHANGE@$path@g" ../conf/nginx.conf
|
||||||
|
path=${path%/}
|
||||||
sudo sed -i "s@ALIASTOCHANGE@$final_path/@g" ../conf/nginx.conf
|
sudo sed -i "s@ALIASTOCHANGE@$final_path/@g" ../conf/nginx.conf
|
||||||
sudo cp ../conf/nginx.conf /etc/nginx/conf.d/$domain.d/jappix.conf
|
sudo cp ../conf/nginx.conf /etc/nginx/conf.d/$domain.d/jappix.conf
|
||||||
sudo sed -i "s@PATHTOCHANGE@$path@g" $final_path/store/conf/main.xml
|
sudo sed -i "s@PATHTOCHANGE@$path@g" $final_path/store/conf/main.xml
|
||||||
|
|
Loading…
Add table
Reference in a new issue