Skip to content

Commit 7420f2b

Browse files
authored
Merge pull request #1 from bcdevtools/feat/nginx-configuration-generator
feat: add new command `gen-nginx`
2 parents 0230857 + 3754a19 commit 7420f2b

File tree

3 files changed

+436
-1
lines changed

3 files changed

+436
-1
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,18 @@
88
nodesc check ~/.node_home --type validator/rpc/snapshot/archival
99
```
1010

11+
## Nginx config generator
12+
13+
```bash
14+
nodesc gen-nginx \
15+
--rpc rpc.mychain.testnet.example.com \
16+
--rest rest.mychain.testnet.example.com \
17+
--jsonrpc jsonrpc.mychain.testnet.example.com \
18+
[--rpc-port 26657] \
19+
[--rest-port 1317] \
20+
[--jsonrpc-port 8545]
21+
```
22+
1123
## Install
1224
```bash
1325
cd ~ && go install github.com/bcdevtools/node-setup-check/cmd/nodesc@latest

0 commit comments

Comments
 (0)