1
0
Fork 0
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:
kemenaran 2017-07-21 22:08:33 +02:00
parent c630f9f02c
commit aaec1ec07c

View file

@ -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