mirror of
https://github.com/GrapheneOS/matrix.grapheneos.org.git
synced 2024-12-21 05:44:35 -05:00
add nginx mime.types configuration to deployment
This commit is contained in:
parent
2120e77103
commit
c7f189ba29
@ -30,6 +30,7 @@ ssh $remote "ln -snf $target /srv/element.grapheneos.org && sync /srv/element.gr
|
||||
|
||||
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
|
||||
ssh $remote nginx -s reload
|
||||
|
||||
echo
|
||||
|
Loading…
Reference in New Issue
Block a user