Adding the following files in order to create the AWS AMI * boot.sh * base-install.sh * configure-ssl.sh file to run to modify app.conf file of nginx and to run init-letsencrypt.sh which generate SSL certificate. Co-authored-by: Shrikant Sharat Kandula <shrikant@appsmith.com> Co-authored-by: Arpit Mohan <arpit@appsmith.com>
12 lines
210 B
Bash
12 lines
210 B
Bash
#!/bin/sh
|
|
|
|
if [ ! -f encryption.env ]; then
|
|
touch encryption.env
|
|
fi
|
|
|
|
cat >| encryption.env << EOF
|
|
APPSMITH_ENCRYPTION_PASSWORD=$user_encryption_password
|
|
APPSMITH_ENCRYPTION_SALT=$user_encryption_salt
|
|
|
|
EOF
|