From 0b06d86337077b2ee47046fcaea4aa220bf35a22 Mon Sep 17 00:00:00 2001 From: hunterlong Date: Mon, 20 Apr 2020 02:17:57 -0700 Subject: [PATCH] updates --- Environment-Variables.md | 6 +++--- SSL.md | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Environment-Variables.md b/Environment-Variables.md index 1695462..7ce289b 100644 --- a/Environment-Variables.md +++ b/Environment-Variables.md @@ -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 \ No newline at end of file +- `API_SECRET` - Set a custom API Secret for API Authentication diff --git a/SSL.md b/SSL.md index 2454f3c..38ed22d 100644 --- a/SSL.md +++ b/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.