mirror of
https://github.com/Erreur32/nginx-proxy-manager-Bash-API.git
synced 2025-01-03 10:52:12 +01:00
Update Readme
This commit is contained in:
parent
e24b232fdf
commit
9f775b21c1
2 changed files with 3 additions and 3 deletions
|
@ -88,7 +88,7 @@ API_PASS="password"
|
||||||
./nginx_proxy_manager_cli.sh --backup
|
./nginx_proxy_manager_cli.sh --backup
|
||||||
|
|
||||||
Advanced proxy tab example:
|
Advanced proxy tab example:
|
||||||
./nginx_proxy_manager_cli.sh -d example.com -i 192.168.1.10 -p 8080 -a "proxy_set_header X-Real-IP \$remote_addr; proxy_set_header X-Forwarded-For \$proxy_add_x_forwarded_for;"
|
./nginx_proxy_manager_cli.sh -d example.com -i 192.168.1.10 -p 8080 -a 'proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;'
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
# ./nginx_proxy_manager_cli.sh --backup
|
# ./nginx_proxy_manager_cli.sh --backup
|
||||||
#
|
#
|
||||||
# Advanced proxy tab example:
|
# Advanced proxy tab example:
|
||||||
# ./nginx_proxy_manager_cli.sh -d example.com -i 192.168.1.10 -p 8080 -a "proxy_set_header X-Real-IP \$remote_addr; proxy_set_header X-Forwarded-For \$proxy_add_x_forwarded_for;"
|
# ./nginx_proxy_manager_cli.sh -d example.com -i 192.168.1.10 -p 8080 -a 'proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;'
|
||||||
#
|
#
|
||||||
# Options:
|
# Options:
|
||||||
# -d DOMAIN_NAMES Domain name (required for creating/updating hosts)
|
# -d DOMAIN_NAMES Domain name (required for creating/updating hosts)
|
||||||
|
@ -131,7 +131,7 @@ usage() {
|
||||||
echo -e " ./nginx_proxy_manager_cli.sh --delete-user 'username'"
|
echo -e " ./nginx_proxy_manager_cli.sh --delete-user 'username'"
|
||||||
echo -e " ./nginx_proxy_manager_cli.sh --list-hosts"
|
echo -e " ./nginx_proxy_manager_cli.sh --list-hosts"
|
||||||
echo -e " Advanced example:"
|
echo -e " Advanced example:"
|
||||||
echo -e " ./nginx_proxy_manager_cli.sh -d example.com -i 192.168.1.10 -p 8080 -a 'proxy_set_header X-Real-IP \$remote_addr; proxy_set_header X-Forwarded-For \$proxy_add_x_forwarded_for;'"
|
echo -e " ./nginx_proxy_manager_cli.sh -d example.com -i 192.168.1.10 -p 8080 -a 'proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;'"
|
||||||
echo ""
|
echo ""
|
||||||
echo -e "Options:"
|
echo -e "Options:"
|
||||||
echo -e " -d ${COLOR_ORANGE}DOMAIN_NAMES${COLOR_RESET} Domain name (${COLOR_RED}required${COLOR_RESET})"
|
echo -e " -d ${COLOR_ORANGE}DOMAIN_NAMES${COLOR_RESET} Domain name (${COLOR_RED}required${COLOR_RESET})"
|
||||||
|
|
Loading…
Reference in a new issue