#!/bin/bash set -e # (DS v1.1.3) Removing old nginx configs to prevent conflicts before upgrading on OpenResty. if [ -f /etc/nginx/conf.d/onlyoffice.conf ]; then rm -rf /etc/nginx/conf.d/onlyoffice* systemctl reload nginx fi exit 0