diff options
| author | magikcypress <cyp@rouquin.me> | 2017-04-09 17:21:51 +0200 |
|---|---|---|
| committer | magikcypress <cyp@rouquin.me> | 2017-04-09 17:21:51 +0200 |
| commit | d04d692b8adee05afaa664067d97727a54f3768c (patch) | |
| tree | 6f74fecdd4df10352ca0fe5524232e8e1863a6ea /scripts | |
| parent | c107ef6b2e2d4cdc4101f3cd24ee7bd29fa41b76 (diff) | |
| download | mastodon_ynh-d04d692b8adee05afaa664067d97727a54f3768c.tar.gz mastodon_ynh-d04d692b8adee05afaa664067d97727a54f3768c.tar.bz2 mastodon_ynh-d04d692b8adee05afaa664067d97727a54f3768c.zip | |
[fix] bug nginx.conf (see mastodon issue #1045)
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/install | 2 |
1 files changed, 1 insertions, 1 deletions
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" |
