mirror of
https://github.com/YunoHost-Apps/mattermost_ynh.git
synced 2024-09-03 19:36:29 +02:00
Update nginx configuration file on upgrade
This commit is contained in:
parent
c630f9f02c
commit
aaec1ec07c
1 changed files with 3 additions and 0 deletions
|
@ -46,5 +46,8 @@ sudo cp -f "$backup_config_file" "$config_file"
|
|||
# Restore file permissions
|
||||
sudo chown -R www-data: "$final_path"
|
||||
|
||||
# Update Nginx configuration file
|
||||
sudo cp -f $root_path/conf/nginx.conf-nosub /etc/nginx/conf.d/$domain.d/mattermost.conf
|
||||
|
||||
# Start server
|
||||
sudo supervisorctl start mattermost
|
||||
|
|
Loading…
Add table
Reference in a new issue