mirror of
https://github.com/GrapheneOS/matrix.grapheneos.org.git
synced 2025-09-22 05:14:47 -04:00
use a temporary directory for nginx configuration
This commit is contained in:
parent
43c8ac3c45
commit
8b4e119821
3 changed files with 6 additions and 5 deletions
|
@ -5,12 +5,13 @@ shopt -s dotglob extglob globstar
|
|||
|
||||
export PATH="$PWD/node_modules/.bin:$PATH"
|
||||
|
||||
rm -rf nginx-tmp
|
||||
cp -a nginx nginx-tmp
|
||||
|
||||
rm -rf static-tmp
|
||||
cp -a /usr/share/webapps/element static-tmp
|
||||
cp --remove-destination webapps/element/config.json static-tmp/config.json
|
||||
|
||||
cp nginx/nginx.conf nginx.conf.tmp
|
||||
|
||||
brotli_k() {
|
||||
brotli -k "$@"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue