diff --git a/install/sure-install.sh b/install/sure-install.sh index 88845c25c..38c819dcd 100644 --- a/install/sure-install.sh +++ b/install/sure-install.sh @@ -44,7 +44,7 @@ msg_info "Configuring Sure" KEY="$(openssl rand -hex 64)" mkdir -p /etc/sure mv /opt/sure/.env.example /etc/sure/.env -sed -i -e "/^SECRET_KEY_BASE=/s/secret-value/${KEY}/" \ +sed -i -e "s/^SECRET_KEY_BASE=.*/SECRET_KEY_BASE=${KEY}/" \ -e 's/_KEY_BASE=.*$/&\n\nRAILS_FORCE_SSL=false \ \ # Change to true when using a reverse proxy \