Skip to content

Commit d25b03a

Browse files
authored
Update README.md
Add additional information about configuration file creation.
1 parent 3e02ff1 commit d25b03a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,11 @@ Required basic dependencies.
5050

5151

5252
## Installation
53-
```
53+
```bash
5454
wget https://raw.githubusercontent.com/Erreur32/nginx-proxy-manager-Bash-API/main/nginx_proxy_manager_cli.sh
5555
chmod +x nginx_proxy_manager_cli.sh
5656
# Create a config file nginx_proxy_manager_cli.conf in same directory (to keep your config safe) check below.
57+
echo -e "## Nginx proxy IP address (your Nginx IP)\nNGINX_IP=\"127.0.0.1\"\nAPI_USER=\"existingUser@mail.com\"\nAPI_PASS=\"password\"\nBASE_DIR=\"$(pwd)\"" > nginx_proxy_manager_cli.conf
5758
./nginx_proxy_manager_cli.sh --info
5859
```
5960

@@ -69,6 +70,8 @@ chmod +x nginx_proxy_manager_cli.sh
6970
To ensure the script is functional, edit these 4 variables (mandatory).
7071

7172
```bash
73+
# nginx_proxy_manager_cli.conf
74+
7275
## Nginx proxy IP address (your Nginx IP)
7376
NGINX_IP="127.0.0.1"
7477
## Existing user (user and password) on NPM

0 commit comments

Comments
 (0)