diff --git a/content/en/admin/install.md b/content/en/admin/install.md index 756c96cf..01ebedf6 100644 --- a/content/en/admin/install.md +++ b/content/en/admin/install.md @@ -197,6 +197,7 @@ Copy the configuration template for nginx from the Mastodon directory: ```bash cp /home/mastodon/live/dist/nginx.conf /etc/nginx/sites-available/mastodon ln -s /etc/nginx/sites-available/mastodon /etc/nginx/sites-enabled/mastodon +rm /etc/nginx/sites-enabled/default ``` Then edit `/etc/nginx/sites-available/mastodon` to diff --git a/content/en/admin/migrating.md b/content/en/admin/migrating.md index 664af51d..0e1c4091 100644 --- a/content/en/admin/migrating.md +++ b/content/en/admin/migrating.md @@ -39,7 +39,7 @@ At a high level, you’ll need to copy over the following: Less crucially, you’ll probably also want to copy the following for convenience: -* The nginx config (under `/etc/nginx/sites-available/default`) +* The nginx config (under `/etc/nginx/sites-available/mastodon`) * The systemd config files (`/etc/systemd/system/mastodon-*.service`), which may contain your server tweaks and customizations * The PgBouncer configuration under `/etc/pgbouncer` (if you’re using it)