mirror of
https://github.com/GrapheneOS/matrix.grapheneos.org.git
synced 2024-09-30 08:15:36 +00:00
deploy nginx snippets
This commit is contained in:
parent
cd8acd3b69
commit
0c46ce2027
@ -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"
|
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
|
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 -rptcv --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/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
|
ssh $remote nginx -s reload
|
||||||
|
|
||||||
echo
|
echo
|
||||||
|
Loading…
Reference in New Issue
Block a user