You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 28, 2022. It is now read-only.
printf"For additional information about the configuration please refer to ${YELLOW}https://docs.hawthorne.in/#/getting-started?id=web-server-configuration${NORMAL}\n\n\n"
449
451
450
452
if [ $nginx-ne 2 ];then
453
+
echo"$web"
451
454
printf"${GREEN}These example configurations have been specificially generated for your system, they might need some tweaking: ${NORMAL}\n\n\n"
452
455
if [ "$web"="nginx" ];then
453
456
sed "s/server_name example.com;/server_name '$domain';/g"$directory/cli/configs/nginx.example.conf
454
457
elif [ "$web"="apache" ];then
458
+
sed -i "s#bind = 'unix:/tmp/sockets/hawthorne.sock'#bind = '127.0.0.1:8000'#g"$directory/gunicorn.conf.py
455
459
sed "s/ServerName example.com/ServerName '$domain'/g"$directory/cli/configs/apache.example.conf
0 commit comments