use nginx utility to get error reporting
This commit is contained in:
parent
fb1be51f68
commit
5a30e1b529
@ -28,7 +28,7 @@ ssh $remote sync .
|
|||||||
sed -i "s|/srv/grapheneos.org|$target|" nginx.conf.tmp
|
sed -i "s|/srv/grapheneos.org|$target|" nginx.conf.tmp
|
||||||
rsync -rpcv --chmod=D755,F644 --delete nginx.conf.tmp $remote:/etc/nginx/nginx.conf
|
rsync -rpcv --chmod=D755,F644 --delete nginx.conf.tmp $remote:/etc/nginx/nginx.conf
|
||||||
ssh $remote sync -f /etc/nginx/nginx.conf
|
ssh $remote sync -f /etc/nginx/nginx.conf
|
||||||
ssh $remote systemctl reload nginx
|
ssh $remote nginx -s reload
|
||||||
|
|
||||||
echo
|
echo
|
||||||
echo active is now $target
|
echo active is now $target
|
||||||
|
Loading…
x
Reference in New Issue
Block a user