From 0c46ce202744fc4468a61e6d1f2ec11d5a8b1cd5 Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Thu, 9 Jun 2022 18:50:24 -0400 Subject: [PATCH] deploy nginx snippets --- deploy-static | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/deploy-static b/deploy-static index b84e76f..7533be1 100755 --- a/deploy-static +++ b/deploy-static @@ -29,8 +29,9 @@ rsync -rpcv --fsync --chmod=D755,F644 --delete static-tmp/ $remote:$target ssh $remote "ln -snf $target /srv/element.grapheneos.org && sync /srv/element.grapheneos.org" sed -i "s|/srv/element.grapheneos.org|$target|" nginx-tmp/nginx.conf -rsync -rpcv --fsync --chmod=D755,F644 --delete nginx-tmp/nginx.conf $remote:/etc/nginx/nginx.conf -rsync -rpcv --fsync --chmod=D755,F644 --delete nginx-tmp/mime.types $remote:/etc/nginx/mime.types +rsync -rptcv --fsync --chmod=D755,F644 --delete nginx-tmp/nginx.conf $remote:/etc/nginx/nginx.conf +rsync -rptcv --fsync --chmod=D755,F644 --delete nginx-tmp/mime.types $remote:/etc/nginx/mime.types +rsync -rptcv --fsync --chmod=D755,F644 --delete nginx-tmp/snippets/ $remote:/etc/nginx/snippets ssh $remote nginx -s reload echo