Skip to content

Commit

Permalink
Remove nginx default site (#1367)
Browse files Browse the repository at this point in the history
* remove default site
* fix default in migration guide
  • Loading branch information
vmstan authored Dec 11, 2023
1 parent f6dbc50 commit a625f3f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions content/en/admin/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion content/en/admin/migrating.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

1 comment on commit a625f3f

@vercel
Copy link

@vercel vercel bot commented on a625f3f Dec 11, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.