mirror of
https://github.com/YunoHost-Apps/mastodon_ynh.git
synced 2024-09-03 19:46:02 +02:00
[fix] Error on final_path nginx
This commit is contained in:
parent
2e7680f297
commit
127f3f0d76
3 changed files with 3 additions and 3 deletions
|
@ -210,7 +210,7 @@ ACOMMANDS
|
|||
|
||||
# Modify Nginx configuration file and copy it to Nginx conf directory
|
||||
sudo sed -i "s@__PATH__@$app@g" ../conf/nginx.conf*
|
||||
sudo sed -i "s@__FINALPATH__@$final_path/@g" ../conf/nginx.conf*
|
||||
sudo sed -i "s@__FINALPATH__@$final_path@g" ../conf/nginx.conf*
|
||||
sudo cp ../conf/nginx.conf /etc/nginx/conf.d/$domain.d/$app.conf
|
||||
|
||||
# Install crontab
|
||||
|
|
|
@ -164,7 +164,7 @@ RCOMMANDS
|
|||
|
||||
# Modify Nginx configuration file and copy it to Nginx conf directory
|
||||
sudo sed -i "s@__PATH__@$app@g" ./nginx.conf
|
||||
sudo sed -i "s@__FINALPATH__@$final_path/@g" ./nginx.conf
|
||||
sudo sed -i "s@__FINALPATH__@$final_path@g" ./nginx.conf
|
||||
sudo cp -a ./nginx.conf "$nginx_conf"
|
||||
# Restore crontab
|
||||
sudo cp -a ./cron.conf "$crontab_conf"
|
||||
|
|
|
@ -31,7 +31,7 @@ db_name=$app
|
|||
|
||||
# Modify Nginx configuration file and copy it to Nginx conf directory
|
||||
sudo sed -i "s@__PATH__@$app@g" ../conf/nginx.conf*
|
||||
sudo sed -i "s@__FINALPATH__@$final_path/@g" ../conf/nginx.conf*
|
||||
sudo sed -i "s@__FINALPATH__@$final_path@g" ../conf/nginx.conf*
|
||||
sudo cp ../conf/nginx.conf /etc/nginx/conf.d/$domain.d/$app.conf
|
||||
|
||||
# Stop Mastodon Services
|
||||
|
|
Loading…
Add table
Reference in a new issue