mirror of https://github.com/statping/statping
updates
parent
3879cca5e8
commit
0b06d86337
|
@ -1,8 +1,8 @@
|
||||||
This page will list all environment variables that could be passed into Statping.
|
This page will list all environment variables that could be passed into Statping.
|
||||||
|
|
||||||
### Statping Server
|
### Statping Server
|
||||||
- `PORT` - Set the outgoing port for the HTTP server (or use -port, default: 8080)
|
- `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)
|
- `IP` - Bind a specific IP address to the HTTP server (or use --ip)
|
||||||
- `VERBOSE` - Display more logs in verbose mode. (1 - 4)
|
- `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)
|
- `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)
|
- `DISABLE_LOGS` - Disable viewing and writing to the log file (default is false)
|
||||||
|
|
2
SSL.md
2
SSL.md
|
@ -90,7 +90,7 @@ networks:
|
||||||
```
|
```
|
||||||
|
|
||||||
## NGINX
|
## 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/cert/server.crt` with SSL certificate file.
|
||||||
- Replace `/my/absolute/directory/for/key/server.key` with SSL key file.
|
- Replace `/my/absolute/directory/for/key/server.key` with SSL key file.
|
||||||
|
|
Loading…
Reference in New Issue