forked from FoundKeyGang/FoundKey
docs: Replace references of misskey with foundkey in nginx guide
This commit is contained in:
parent
97288cb75f
commit
b030ced51c
1 changed files with 4 additions and 4 deletions
|
@ -1,12 +1,12 @@
|
||||||
# Nginx configuration
|
# Nginx configuration
|
||||||
1. Create `/etc/nginx/conf.d/misskey.conf` or `/etc/nginx/sites-available/misskey.conf` and copy the following example to the file.\
|
1. Create `/etc/nginx/conf.d/foundkey.conf` or `/etc/nginx/sites-available/foundkey.conf` and copy the following example to the file.\
|
||||||
(The file name does not have to be "misskey".)
|
(The file name does not have to be "foundkey".)
|
||||||
2. Edit as follows:
|
2. Edit as follows:
|
||||||
1. Replace example.tld with the domain you have prepared.\
|
1. Replace example.tld with the domain you have prepared.\
|
||||||
`ssl_certificate` and `ssl_certificate_key` should be the path to the certificate obtained from Let's Encrypt.
|
`ssl_certificate` and `ssl_certificate_key` should be the path to the certificate obtained from Let's Encrypt.
|
||||||
2. If using a CDN such as Cloudflare, remove 4 lines from "If it's behind another reverse proxy or CDN, remove the following."
|
2. If using a CDN such as Cloudflare, remove 4 lines from "If it's behind another reverse proxy or CDN, remove the following."
|
||||||
3. If you create `/etc/nginx/sites-available/misskey.conf`, create symlink as `/etc/nginx/sites-enabled/misskey.conf`.\
|
3. If you create `/etc/nginx/sites-available/foundkey.conf`, create symlink as `/etc/nginx/sites-enabled/foundkey.conf`.\
|
||||||
`sudo ln -s /etc/nginx/sites-available/misskey.conf /etc/nginx/sites-enabled/misskey.conf`
|
`sudo ln -s /etc/nginx/sites-available/foundkey.conf /etc/nginx/sites-enabled/foundkey.conf`
|
||||||
4. Run `sudo nginx -t` to verify that the configuration file will be loaded successfully.
|
4. Run `sudo nginx -t` to verify that the configuration file will be loaded successfully.
|
||||||
5. Run `sudo systemctl restart nginx` to restart nginx.
|
5. Run `sudo systemctl restart nginx` to restart nginx.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue