From 7ff2351dc521a67c8b14ae86a69cd15bbc602d47 Mon Sep 17 00:00:00 2001 From: Roland Date: Mon, 1 May 2023 13:00:23 -0600 Subject: [PATCH] Updating nginx configs during upgrade. --- scripts/upgrade.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/upgrade.sh b/scripts/upgrade.sh index b43d8c6c..639ac4ee 100755 --- a/scripts/upgrade.sh +++ b/scripts/upgrade.sh @@ -2,3 +2,8 @@ # Upgrade the API and App. /bin/bash /opt/wrolpi/scripts/build_api_and_app.sh + +# Update nginx configs +cp /opt/wrolpi/nginx.conf /etc/nginx/nginx.conf +cp /opt/wrolpi/50x.html /var/www/50x.html +/usr/sbin/nginx -s reload