mirror of
https://github.com/Erreur32/nginx-proxy-manager-Bash-API.git
synced 2024-12-22 05:22:11 +01:00
Update README.md
This commit is contained in:
parent
4e61409927
commit
9b82091846
1 changed files with 3 additions and 1 deletions
|
@ -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'
|
||||||
|
|
Loading…
Reference in a new issue