diff --git a/README.md b/README.md index 3ab49e7..c76fd2c 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,6 @@ Start network: docker compose pull docker compose up -d ``` - Stop network: ```sh @@ -227,7 +226,9 @@ db/0/sqlite - As of 2.18, this is a height of 500. It takes four hours or so to reach this from scratch. - The rest api should be exposed on your localhost, so you can use the command below to check the height of chain 0. - `curl -s http://localhost:8080/chainweb/0.0/development/cut | jq '.hashes."'0'".height'` + `curl -s http://localhost:8080/chainweb/0.0/fast-development/cut | jq '.hashes."'0'".height` + + NOTE: Chainweb version name for minimal devnet is `fast-development`, make sure you use the correct name when querying the API. You can also use the commands listed elsewhere in this document to query into the node container directly if you reference the right container name: devnet-bootstrap-node-1 diff --git a/config/nginx.api.conf b/config/nginx.api.conf index 6d97f67..9c41723 100644 --- a/config/nginx.api.conf +++ b/config/nginx.api.conf @@ -18,7 +18,7 @@ upstream peer-api { server { server_name api.devnet.chainweb.com - listen 8080; + listen 80; location /nginx_status { stub_status on; diff --git a/config/nginx.api.minimal-l2.conf b/config/nginx.api.minimal-l2.conf index ec93f74..d342d98 100644 --- a/config/nginx.api.minimal-l2.conf +++ b/config/nginx.api.minimal-l2.conf @@ -16,7 +16,7 @@ upstream peer-api { server { server_name api.devnet.chainweb.com - listen 8080; + listen 80; access_log /var/log/nginx/chainweb-api-access.log; error_log /var/log/nginx/chainweb-api-error.log; diff --git a/config/nginx.api.minimal.conf b/config/nginx.api.minimal.conf index 525d449..148080e 100644 --- a/config/nginx.api.minimal.conf +++ b/config/nginx.api.minimal.conf @@ -16,7 +16,7 @@ upstream peer-api { server { server_name api.devnet.chainweb.com - listen 8080; + listen 80; access_log /var/log/nginx/chainweb-api-access.log; error_log /var/log/nginx/chainweb-api-error.log;