mirror of https://github.com/statping/statping
Updated SSL (markdown)
parent
f1f76a02bb
commit
d95cf3d771
9
SSL.md
9
SSL.md
|
@ -1,7 +1,14 @@
|
|||
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.
|
||||
|
||||
- `LETSENCRYPT_ENABLE` - Set to **true** to have LetsEncrypt enabled. (defaults to false)
|
||||
- `LETSENCRYPT_HOST` - Domain to generate SSL certificate
|
||||
- `LETSENCRYPT_EMAIL` - Email address that gets sent with the LetsEncrypt Request
|
||||
|
||||
## SSL Certificate with Statping
|
||||
To run the Statping HTTP server in SSL mode, you must include 2 files in the root directory of your Statping application. The 2 files you must include are:
|
||||
If you have your own SSL certificates, use this method. To run the Statping HTTP server in SSL mode, you must include 2 files in the root directory of your Statping application. The 2 files you must include are:
|
||||
- `server.crt` SSL Certificate File
|
||||
- `server.key` SSL Certificate Key File
|
||||
|
||||
|
|
Loading…
Reference in New Issue