From ec717139db691455f8119c4b3a448a323be1603a Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Wed, 24 Nov 2021 02:10:41 -0500 Subject: [PATCH] add nginx snippets to deploy-static --- deploy-static | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/deploy-static b/deploy-static index d002acbd..84720168 100755 --- a/deploy-static +++ b/deploy-static @@ -36,7 +36,8 @@ for server in ${servers[@]}; do cp nginx.conf.tmp nginx.conf.root.tmp sed -i "s|/srv/grapheneos.org|$target|" nginx.conf.root.tmp rsync -rptcv --chmod=D755,F644 --delete nginx.conf.root.tmp $remote:/etc/nginx/nginx.conf - ssh $remote sync -f /etc/nginx/nginx.conf + rsync -rptcv --chmod=D755,F644 --delete nginx/snippets/ $remote:/etc/nginx/snippets + ssh $remote 'sync /etc/nginx/nginx.conf /etc/nginx/snippets/*' ssh $remote nginx -s reload echo