Skip to content

Commit dfc6adf

Browse files
authored
Update README.md
Udpate name command and example in README
1 parent d6667f4 commit dfc6adf

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

README.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ BASE_DIR="/path/nginx_proxy_script/data"
200200
./nginx_proxy_manager_cli.sh --host-ssl-enable 10 -y
201201

202202
🔍 Information and Status:
203-
./nginx_proxy_manager_cli.sh --info # Show script configuration and status
203+
./nginx_proxy_manager_cli.sh --info # Show script configuration and status
204204
./nginx_proxy_manager_cli.sh --check-token # Verify token validity
205205
./nginx_proxy_manager_cli.sh --host-search domain.com # Search for a specific domain
206206

@@ -210,12 +210,12 @@ BASE_DIR="/path/nginx_proxy_script/data"
210210
./nginx_proxy_manager_cli.sh --host-disable 42
211211

212212
🛡️ Access Control Lists:
213-
./nginx_proxy_manager_cli.sh --list-access # List all access lists
213+
./nginx_proxy_manager_cli.sh --list-access # List all access lists
214214
./nginx_proxy_manager_cli.sh --host-acl-enable 42,5 # Enable ACL ID 5 for host 42
215215
./nginx_proxy_manager_cli.sh --host-acl-disable 42 # Disable ACL for host 42
216216

217217
🔒 SSL Management:
218-
./nginx_proxy_manager_cli.sh --list-ssl-certificates # List all SSL certificates
218+
./nginx_proxy_manager_cli.sh --list-ssl-cert # List all SSL certificates
219219
./nginx_proxy_manager_cli.sh --delete-cert domain.com # Delete certificate for domain
220220

221221
🔄 Update Specific Fields:
@@ -239,7 +239,7 @@ BASE_DIR="/path/nginx_proxy_script/data"
239239
./nginx_proxy_manager_cli.sh -d example.com -i 192.168.1.10 -p 8080 -f https -c true -b true -w true -a 'proxy_set_header X-Real-IP $remote_addr;' -l '[{"path":"/api","forward_host":"192.168.1.11","forward_port":8081}]'
240240
```
241241

242-
### backup
242+
### --backup
243243

244244
```bash
245245
./nginx_proxy_manager_cli.sh --backup
@@ -275,7 +275,7 @@ BASE_DIR="/path/nginx_proxy_script/data"
275275
└── 📄 expiry_[IP]_[PORT].txt # Token expiry date
276276
```
277277

278-
#### update
278+
#### --update-host
279279
##### update specific fields of an existing proxy host
280280

281281
The `--update-host` command allows you to **update specific fields** of an existing proxy host in Nginx Proxy Manager **without recreating it**.
@@ -332,7 +332,7 @@ Script Variables Information:
332332

333333
By following these steps, you can enable SSL for your proxy host for the first time using Let's Encrypt.
334334

335-
#### List
335+
#### --host-list
336336
List all Host in one command and show ´id´ , ´status´ and ´SSL´ status:
337337

338338
./nginx_proxy_manager_cli.sh --host-list
@@ -344,7 +344,7 @@ By following these steps, you can enable SSL for your proxy host for the first t
344344
3 tutu.fun enabled ✅
345345

346346

347-
#### ssl
347+
#### --host-ssl-enable
348348
##### Enable SSL for the Host
349349

350350
Assuming the host ID is *1*, you would enable SSL for the host as follows:
@@ -364,7 +364,6 @@ By following these steps, you can enable SSL for your proxy host for the first t
364364

365365
##### **Other Exemple command:**
366366

367-
368367
Host proxy info command `--host-show id`
369368

370369

0 commit comments

Comments
 (0)