diff options
| author | Daniel Micay <danielmicay@gmail.com> | 2021-11-24 02:10:41 -0500 |
|---|---|---|
| committer | Daniel Micay <danielmicay@gmail.com> | 2021-11-24 02:10:41 -0500 |
| commit | ec717139db691455f8119c4b3a448a323be1603a (patch) | |
| tree | 2a97f8ff15e325add43d9269728ac1a13c4dac6a /deploy-static | |
| parent | fd59a5650101a99427c91adface0c603975178a7 (diff) | |
add nginx snippets to deploy-static
Diffstat (limited to 'deploy-static')
| -rwxr-xr-x | deploy-static | 3 |
1 files changed, 2 insertions, 1 deletions
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 |
