diff --git a/conf/nginx.conf b/conf/nginx.conf index 915061d..d05cdcb 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -7,6 +7,9 @@ try_files $uri @proxy; + + # Include SSOWAT user panel. + include conf.d/yunohost_panel.conf.inc; } location @proxy { diff --git a/scripts/install b/scripts/install index 29167bc..8e086a7 100644 --- a/scripts/install +++ b/scripts/install @@ -109,7 +109,7 @@ MCOMMANDS # Adjust Mastodon config pushd $final_path/live/ sudo cp -a .env.production.sample .env.production -sudo sed -i "s@REDIS_HOST=localhost@REDIS_HOST=localhost@g" "${final_path}/live/.env.production" +sudo sed -i "s@REDIS_HOST=localhost@REDIS_HOST=127.0.0.1@g" "${final_path}/live/.env.production" sudo sed -i "s@DB_HOST=db@DB_HOST=/var/run/postgresql@g" "${final_path}/live/.env.production" sudo sed -i "s@DB_USER=mastodon@DB_USER=${dbuser}@g" "${final_path}/live/.env.production" sudo sed -i "s@DB_NAME=mastodon@DB_NAME=${dbuser}@g" "${final_path}/live/.env.production"