updates

master
hunterlong 2020-04-20 02:17:57 -07:00
parent 3879cca5e8
commit 0b06d86337
2 changed files with 4 additions and 4 deletions

@ -1,8 +1,8 @@
This page will list all environment variables that could be passed into Statping.
### Statping Server
- `PORT` - Set the outgoing port for the HTTP server (or use -port, default: 8080)
- `IP` - Bind a specific IP address to the HTTP server (or use -ip)
- `PORT` - Set the outgoing port for the HTTP server (or use --port, default: 8080)
- `IP` - Bind a specific IP address to the HTTP server (or use --ip)
- `VERBOSE` - Display more logs in verbose mode. (1 - 4)
- `STATPING_DIR` - Set a absolute path for the root path of Statping server (logs, assets, SQL db)
- `DISABLE_LOGS` - Disable viewing and writing to the log file (default is false)
@ -41,4 +41,4 @@ This page will list all environment variables that could be passed into Statping
- `ADMIN_USER` - Username for administrator account (default: admin)
- `ADMIN_PASS` - Password for administrator account (default: admin)
- `API_KEY` - Set a custom API Key for Statping
- `API_SECRET` - Set a custom API Secret for API Authentication
- `API_SECRET` - Set a custom API Secret for API Authentication

2
SSL.md

@ -90,7 +90,7 @@ networks:
```
## NGINX
If you already have a NGINX web server running, you just have to add a proxy pass and your SSL certs to the nginx config or as a vhost. By default Statping runs on port 8080, you can change this port by starting server with `statping -ip 127.0.0.1 -port 9595`.
If you already have a NGINX web server running, you just have to add a proxy pass and your SSL certs to the nginx config or as a vhost. By default Statping runs on port 8080, you can change this port by starting server with `statping --ip 127.0.0.1 --port 9595`.
- Replace `/my/absolute/directory/for/cert/server.crt` with SSL certificate file.
- Replace `/my/absolute/directory/for/key/server.key` with SSL key file.