Update README.md

This commit is contained in:
Erreur32 2024-07-28 17:57:09 +02:00 committed by GitHub
parent 4e61409927
commit 9b82091846
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -48,7 +48,7 @@ chmod +x nginx_proxy_manager_cli.sh
## Settings ## Settings
Only edit these 3 variables: Only edit these 3 variables:
``` ```bash
## Nginx proxy IP address (your Nginx IP) ## Nginx proxy IP address (your Nginx IP)
NGINX_IP="127.0.0.1" NGINX_IP="127.0.0.1"
## Existing user (user and password) on NPM ## Existing user (user and password) on NPM
@ -105,12 +105,14 @@ BASE_DIR="/path/nginx_proxy_script/data"
``` ```
## Examples ## Examples
```bash ```bash
📦 Backup First ! 📦 Backup First !
./nginx_proxy_manager_cli.sh --backup ./nginx_proxy_manager_cli.sh --backup
🌐 Host Creation: 🌐 Host Creation:
./nginx_proxy_manager_cli.sh -d example.com -i 192.168.1.10 -p 8080 (check default values below) ./nginx_proxy_manager_cli.sh -d example.com -i 192.168.1.10 -p 8080 (check default values below)
./nginx_proxy_manager_cli.sh --info
./nginx_proxy_manager_cli.sh --show-default ./nginx_proxy_manager_cli.sh --show-default
./nginx_proxy_manager_cli.sh --create-user newuser password123 user@example.com ./nginx_proxy_manager_cli.sh --create-user newuser password123 user@example.com
./nginx_proxy_manager_cli.sh --delete-user 'username' ./nginx_proxy_manager_cli.sh --delete-user 'username'