swap nginx root instead of using the symlink
This commit is contained in:
parent
7835f0eedf
commit
d9670b0e17
@ -25,6 +25,7 @@ ssh $remote sync -f $target
|
||||
ssh $remote ln -snf $target /srv/grapheneos.org
|
||||
ssh $remote sync .
|
||||
|
||||
sed -i "s|/srv/grapheneos.org|$target|" nginx.conf.tmp
|
||||
rsync -rpcv --chmod=D755,F644 --delete nginx.conf.tmp $remote:/etc/nginx/nginx.conf
|
||||
ssh $remote sync -f /etc/nginx/nginx.conf
|
||||
ssh $remote systemctl reload nginx
|
||||
|
Loading…
x
Reference in New Issue
Block a user