mirror of
https://github.com/mastodon/documentation
synced 2025-04-11 22:56:17 +02:00
Remove nginx default site (#1367)
* remove default site * fix default in migration guide
This commit is contained in:
parent
f6dbc5035b
commit
a625f3f60e
@ -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
|
||||
|
@ -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)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user