add nginx mime.types configuration to deployment
This commit is contained in:
parent
6541335b8c
commit
44134c95f1
@ -35,6 +35,7 @@ for server in ${servers[@]}; do
|
|||||||
|
|
||||||
sed "s|/srv/grapheneos.org|$target|" nginx-tmp/nginx.conf > nginx-tmp/nginx.conf.root
|
sed "s|/srv/grapheneos.org|$target|" nginx-tmp/nginx.conf > nginx-tmp/nginx.conf.root
|
||||||
rsync -rptcv --fsync --chmod=D755,F644 --delete nginx-tmp/nginx.conf.root $remote:/etc/nginx/nginx.conf
|
rsync -rptcv --fsync --chmod=D755,F644 --delete nginx-tmp/nginx.conf.root $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
|
rsync -rptcv --fsync --chmod=D755,F644 --delete nginx-tmp/snippets/ $remote:/etc/nginx/snippets
|
||||||
ssh $remote nginx -s reload
|
ssh $remote nginx -s reload
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user