diff --git a/deploy_static b/deploy_static index 3cfee43c..f152086f 100755 --- a/deploy_static +++ b/deploy_static @@ -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