Update README.md

This commit is contained in:
Erreur32 2024-07-10 22:44:33 +02:00 committed by GitHub
parent fc43d8c293
commit 48d7f9bca5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -17,23 +17,22 @@ Ce script permet de gérer Nginx Proxy Manager via l'API. Il fournit des fonctio
- `curl` - `curl`
- `jq` - `jq`
## Installation jq
```bash ```bash
sudo apt-get install jq sudo apt-get install jq curl
``` ```
## settings: ## Installation
```
wget https://raw.githubusercontent.com/Erreur32/nginx-proxy-manager-API/main/nginx_proxy_manager_cli.sh
```
only edit thoses variables ## Settings:
Only edit these 3 variables:
``` ```
#### Variables to edit ## IP address of the Nginx server (your Nginx server IP)
# Address IP server Nginx (your nginx ip server)
NGINX_IP="127.0.0.1" NGINX_IP="127.0.0.1"
## Existing user (user and password) on NPM
# Existing user (user pass) on npm.
API_USER="existingUser@mail.com" API_USER="existingUser@mail.com"
API_PASS="password" API_PASS="password"
``` ```