mirror of
https://github.com/YunoHost-Apps/mastodon_ynh.git
synced 2024-09-03 19:46:02 +02:00
commit
2db58a5577
1 changed files with 1 additions and 0 deletions
|
@ -32,6 +32,7 @@ db_name=$app
|
||||||
# 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@__PATH__@$app@g" ../conf/nginx.conf*
|
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
|
# Stop Mastodon Services
|
||||||
sudo systemctl stop mastodon-*.service
|
sudo systemctl stop mastodon-*.service
|
||||||
|
|
Loading…
Reference in a new issue