diff --git a/deploy-static b/deploy-static index 730f080..dc7ba3f 100755 --- a/deploy-static +++ b/deploy-static @@ -22,7 +22,7 @@ ssh $remote cp -a $active $target rsync -rpcv --chmod=D755,F644 --delete static_tmp/ $remote:$target ssh $remote sync -f $target ssh $remote ln -snf $target /srv/element.grapheneos.org -ssh $remote sync . +ssh $remote sync /srv/element.grapheneos.org sed -i "s|/srv/element.grapheneos.org|$target|" nginx.conf.tmp rsync -rpcv --chmod=D755,F644 --delete nginx.conf.tmp $remote:/etc/nginx/nginx.conf