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
|
```bash
|
||||||
cp /home/mastodon/live/dist/nginx.conf /etc/nginx/sites-available/mastodon
|
cp /home/mastodon/live/dist/nginx.conf /etc/nginx/sites-available/mastodon
|
||||||
ln -s /etc/nginx/sites-available/mastodon /etc/nginx/sites-enabled/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
|
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:
|
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 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)
|
* The PgBouncer configuration under `/etc/pgbouncer` (if you’re using it)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue