diff options
| author | nemsia <nemsia@nemsia.org> | 2017-07-24 00:41:30 +0200 |
|---|---|---|
| committer | nemsia <nemsia@nemsia.org> | 2017-07-24 00:41:30 +0200 |
| commit | 1f948e706af0dc07a1befc26ed0a117af0d3c2b0 (patch) | |
| tree | 008d6f53d474f4b2dcafc15391514b96ad277732 /scripts/install | |
| parent | d833f59222b6adacf8a5b559b450c6ebfcadbdea (diff) | |
| parent | 0d65ed87d9c1d63756e70e8574b29f64f8cb6903 (diff) | |
| download | mastodon_ynh-1f948e706af0dc07a1befc26ed0a117af0d3c2b0.tar.gz mastodon_ynh-1f948e706af0dc07a1befc26ed0a117af0d3c2b0.tar.bz2 mastodon_ynh-1f948e706af0dc07a1befc26ed0a117af0d3c2b0.zip | |
Merge branch 'master' of https://github.com/YunoHost-Apps/mastodon_ynh
Diffstat (limited to 'scripts/install')
| -rw-r--r-- | scripts/install | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/install b/scripts/install index 17a4573..f769a8b 100644 --- a/scripts/install +++ b/scripts/install @@ -214,7 +214,9 @@ RAILS_ENV=production bin/bundle exec rails mastodon:make_admin USERNAME=$admin_m RAILS_ENV=production bin/bundle exec rails mastodon:confirm_email USER_EMAIL=$admin_mastodon_mail ACOMMANDS -# Copy nginx config +# Modify Nginx configuration file and copy it to Nginx conf directory +sudo sed -i "s@__PATH__@$app@g" ../conf/nginx.conf* +sudo sed -i "s@__FINALPATH__@$final_path@g" ../conf/nginx.conf* sudo cp ../conf/nginx.conf /etc/nginx/conf.d/$domain.d/$app.conf # Install crontab |
