mirror of
https://github.com/LemmyNet/lemmy-docs.git
synced 2024-11-22 12:21:10 +00:00
Add letsencrypt guide.
This commit is contained in:
parent
440774f827
commit
35eb4b6be8
1 changed files with 9 additions and 5 deletions
|
@ -27,14 +27,18 @@ You can access the lemmy-ui at `http://localhost:80`
|
|||
To make Lemmy available outside the server, you need to setup a reverse proxy, like Nginx. You can use the following simple proxy:
|
||||
|
||||
```
|
||||
server_name your_domain;
|
||||
server {
|
||||
listen 80;
|
||||
server_name my_domain.tld;
|
||||
|
||||
location / {
|
||||
proxy_pass http://localhost:LEMMY_PORT;
|
||||
include proxy_params;
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
You can also setup TLS, for example with [Let's Encrypt](https://letsencrypt.org/). After this you need to restart Nginx to reload the config.
|
||||
You should also setup TLS, for example with [Let's Encrypt](https://letsencrypt.org/). [Here's a guide for setting up letsencrypt on Ubuntu](https://www.digitalocean.com/community/tutorials/how-to-secure-nginx-with-let-s-encrypt-on-ubuntu-20-04).
|
||||
|
||||
## Updating
|
||||
|
||||
|
|
Loading…
Reference in a new issue