Skip to content

Commit 126b4ae

Browse files
Update update.sh
1 parent 62dc529 commit 126b4ae

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

web/update.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,15 @@ PHYRE_PHP=/usr/local/phyre/php/bin/php
22

33

44

5+
printf "Updating the panel...\n"
6+
wget https://raw.githubusercontent.com/PhyreApps/PhyrePanelNGINX/main/compilators/debian/nginx/nginx.conf -O /usr/local/phyre/nginx/conf/nginx.conf
7+
8+
mkdir -p /usr/local/phyre/ssl
9+
cp /usr/local/phyre/web/server/ssl/phyre.crt /usr/local/phyre/ssl/phyre.crt
10+
cp /usr/local/phyre/web/server/ssl/phyre.key /usr/local/phyre/ssl/phyre.key
11+
12+
systemctl restart phyre
13+
systemctl status phyre
514

615
printf "Updating the database...\n"
716
$PHYRE_PHP artisan migrate

0 commit comments

Comments
 (0)