Updating nginx configs during upgrade.

This commit is contained in:
Roland 2023-05-01 13:00:23 -06:00
parent a54483c5e7
commit 7ff2351dc5
No known key found for this signature in database
GPG key ID: 9D6DBD3ACF11AB93

View file

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