kopia lustrzana https://dev.funkwhale.audio/funkwhale/funkwhale
Rearrange docs, add TLS instructions to each.
rodzic
aaeb2e445a
commit
e01d65e996
|
@ -5,3 +5,7 @@ Follow the guides in this section to set up and administrate your pod.
|
|||
```{contents}
|
||||
:local:
|
||||
```
|
||||
|
||||
## Install Funkwhale on your server
|
||||
|
||||
Funkwhale is self-hosted, meaning you run it on your own server. To set up your own Funkwhale pod, check out [our installation guides](installation_docs/index.md). Choose the installation method that works for you!
|
||||
|
|
|
@ -198,3 +198,30 @@ That's it! You've created your Nginx file. Run the following command to check th
|
|||
```{code} bash
|
||||
grep '${' /etc/nginx/sites-enabled/funkwhale.conf
|
||||
```
|
||||
|
||||
## 5. Set up TLS
|
||||
|
||||
To enable your users to connect to your pod securely, you need to set up {abbr}`TLS (Transport Layer Security)`. To do this, we recommend using the <acme.sh> script.
|
||||
|
||||
1. Download and run `acme.sh`. Replace `my@example.com` with your email address.
|
||||
|
||||
```{code} bash
|
||||
curl https://get.acme.sh | sh -s email=my@example.com
|
||||
```
|
||||
|
||||
2. Generate a certificate. Replace `example.com` with your Funkwhale pod name.
|
||||
|
||||
```{code} bash
|
||||
acme.sh --issue -d example.com -w /home/funkwhale/public_html
|
||||
```
|
||||
|
||||
3. Install the certificate to your Nginx config. Replace `example.com` with your Funkwhale pod name.
|
||||
|
||||
```{code} bash
|
||||
acme.sh --install-cert -d example.com \
|
||||
--key-file /path/to/keyfile/in/nginx/key.pem \
|
||||
--fullchain-file /path/to/fullchain/nginx/cert.pem \
|
||||
--reloadcmd "service nginx force-reload"
|
||||
```
|
||||
|
||||
That's it! acme.sh renews your certificate every 60 days, so you don't need to about renewing it.
|
|
@ -15,8 +15,8 @@ caption: Choose your installation method
|
|||
maxdepth: 1
|
||||
---
|
||||
|
||||
quick_install/index
|
||||
docker/index
|
||||
debian/index
|
||||
quick_install
|
||||
docker
|
||||
debian
|
||||
|
||||
```
|
||||
|
|
Ładowanie…
Reference in New Issue