Updated SSL (markdown)

master
Hunter Long 2020-07-15 11:17:21 -07:00
parent d95cf3d771
commit f04bffa41d
1 changed files with 1 additions and 1 deletions

2
SSL.md

@ -1,7 +1,7 @@
You can run Statping with a valid certificate by including 2 files in the root directory. Although, I personally recommend using NGINX or Apache to serve the SSL and then have the webserver direct traffic to the Statping instance. This guide will show you how to implement SSL onto your Statping server with multiple options.
## LetsEncrypt
You can have Statping generate SSL certificates with LetsEncrypt by entering the following environment variables. Make sure the domain name is pointing to the address of your Statping instance. Once certificates are generated, they will be stored in the `cache` folder and will automatically renew 30 days before they expire.
You can have Statping generate SSL certificates with LetsEncrypt by entering the following environment variables. Make sure the domain name is pointing to the address of your Statping instance. Once certificates are generated, they will be stored in the `certs` folder and will automatically renew 30 days before they expire.
- `LETSENCRYPT_ENABLE` - Set to **true** to have LetsEncrypt enabled. (defaults to false)
- `LETSENCRYPT_HOST` - Domain to generate SSL certificate