mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-10-26 10:51:36 -04:00
Updating nginx configs during upgrade.
This commit is contained in:
parent
a54483c5e7
commit
7ff2351dc5
1 changed files with 5 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue