site
This commit is contained in:
parent
38ce7665d1
commit
f926bc170d
|
@ -575,7 +575,7 @@ function install_turtl_app {
|
|||
|
||||
# change settings
|
||||
sed -i "s|api_url.*|api_url: 'https://api.${TURTL_DOMAIN_NAME}'|g" /var/www/$TURTL_DOMAIN_NAME/htdocs/config/config.js
|
||||
sed -i "s|site_url.*|api_url: 'https://${TURTL_DOMAIN_NAME}'|g" /var/www/$TURTL_DOMAIN_NAME/htdocs/config/config.js
|
||||
sed -i "s|site_url.*|site_url: 'https://${TURTL_DOMAIN_NAME}'|g" /var/www/$TURTL_DOMAIN_NAME/htdocs/config/config.js
|
||||
|
||||
chown -R turtl:turtl /var/www/$TURTL_DOMAIN_NAME/htdocs
|
||||
|
||||
|
@ -643,7 +643,7 @@ function install_turtl_app {
|
|||
echo '}' >> $turtl_nginx_site
|
||||
else
|
||||
sed -i "s|api_url.*|api_url: 'http://${TURTL_API_ONION_HOSTNAME}'|g" /var/www/$TURTL_DOMAIN_NAME/htdocs/config/config.js
|
||||
sed -i "s|site_url.*|api_url: 'http://${TURTL_ONION_HOSTNAME}'|g" /var/www/$TURTL_DOMAIN_NAME/htdocs/config/config.js
|
||||
sed -i "s|site_url.*|site_url: 'http://${TURTL_ONION_HOSTNAME}'|g" /var/www/$TURTL_DOMAIN_NAME/htdocs/config/config.js
|
||||
echo -n '' > $turtl_nginx_site
|
||||
fi
|
||||
echo 'server {' >> $turtl_nginx_site
|
||||
|
|
Loading…
Reference in New Issue