mirror of
https://github.com/overleaf/toolkit.git
synced 2025-04-19 15:28:06 +02:00
Lint
This commit is contained in:
parent
c9b3de934a
commit
dc06f1d9c3
1 changed files with 3 additions and 3 deletions
6
bin/init
6
bin/init
|
@ -51,9 +51,9 @@ function set_up_tls_proxy() {
|
|||
echo "Generate example self-signed TLS cert"
|
||||
mkdir -p config/nginx/certs
|
||||
cp "$TOOLKIT_ROOT/lib/config-seed/nginx.conf" "$TOOLKIT_ROOT/config/nginx/"
|
||||
openssl req -new -nodes -keyout $PRIVATE_KEY -out $CERT_SIGN_REQ -batch
|
||||
chmod 600 $PRIVATE_KEY
|
||||
openssl x509 -req -days 365 -in $CERT_SIGN_REQ -signkey $PRIVATE_KEY -out $CERT
|
||||
openssl req -new -nodes -keyout "$PRIVATE_KEY" -out "$CERT_SIGN_REQ" -batch
|
||||
chmod 600 "$PRIVATE_KEY"
|
||||
openssl x509 -req -days 365 -in "$CERT_SIGN_REQ" -signkey "$PRIVATE_KEY" -out "$CERT"
|
||||
}
|
||||
|
||||
HELP=false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue