Support forced HTTPS redirects #39

This commit is contained in:
spikecodes 2021-01-16 22:04:03 -08:00
parent ef9bc791e1
commit 6127f2a90c
4 changed files with 37 additions and 6 deletions

View file

@ -190,6 +190,8 @@ Specify a custom address for the server by passing the `-a` or `--address` argum
libreddit --address=0.0.0.0:8111
```
Given you have a TLS certificate, you can pass the `-r` or `--redirect-https` arguments to force HTTPS.
## Building
```