mirror of
https://github.com/Erreur32/nginx-proxy-manager-Bash-API.git
synced 2025-01-15 16:21:55 +01:00
Compare commits
2 commits
95b32880d1
...
56f490b360
Author | SHA1 | Date | |
---|---|---|---|
56f490b360 | |||
9b4efd5afb |
1 changed files with 22 additions and 12 deletions
26
README.md
26
README.md
|
@ -10,13 +10,16 @@
|
||||||
6. [Usage](#usage)
|
6. [Usage](#usage)
|
||||||
7. [Options](#options)
|
7. [Options](#options)
|
||||||
8. [Examples](#examples)
|
8. [Examples](#examples)
|
||||||
9. [Screens](#screens)
|
9. [SSL](#ssl) |
|
||||||
10. [TODO](#todo)
|
[List HOST](#check) |
|
||||||
|
[Info](#info)
|
||||||
|
12. [Screens](#screens)
|
||||||
|
13. [TODO](#todo)
|
||||||
|
|
||||||
> [!WARNING]
|
> [!WARNING]
|
||||||
> Sometime Global RESTORE (--restore) function may not works for HOST only (fix will come)
|
> The restore function of the --restore command may not work correctly (a fix is in progress)
|
||||||
>
|
>
|
||||||
> Single RESTORE (--restore-id , add host one by one) should work well.
|
> Single RESTORE --restore-id (necessary to add hosts one by one) should work fine.
|
||||||
|
|
||||||
## Description
|
## Description
|
||||||
|
|
||||||
|
@ -26,7 +29,9 @@
|
||||||
|
|
||||||
⚙️ Provides functionalities such as creating and deleting proxy hosts, managing users, displaying configurations, creating **BACKUPS**, and more.
|
⚙️ Provides functionalities such as creating and deleting proxy hosts, managing users, displaying configurations, creating **BACKUPS**, and more.
|
||||||
|
|
||||||
|
### French description:
|
||||||
Ce script permet de gérer Nginx Proxy Manager via l'API. Il fournit des fonctionnalités telles que la création de hosts proxy, la gestion des utilisateurs, et l'affichage des configurations avec creation de BACKUP !
|
Ce script permet de gérer Nginx Proxy Manager via l'API. Il fournit des fonctionnalités telles que la création de hosts proxy, la gestion des utilisateurs, et l'affichage des configurations avec creation de BACKUP !
|
||||||
|
La fonction RESTORE n'est pas encore terminée.
|
||||||
|
|
||||||
## Reference
|
## Reference
|
||||||
![https://github.com/NginxProxyManager/nginx-proxy-manager/tree/develop/backend/schema](https://github.com/NginxProxyManager/nginx-proxy-manager/tree/develop/backend/schema)
|
![https://github.com/NginxProxyManager/nginx-proxy-manager/tree/develop/backend/schema](https://github.com/NginxProxyManager/nginx-proxy-manager/tree/develop/backend/schema)
|
||||||
|
@ -52,8 +57,8 @@ chmod +x nginx_proxy_manager_cli.sh
|
||||||
|
|
||||||
|
|
||||||
> [!IMPORTANT]
|
> [!IMPORTANT]
|
||||||
> With new version 2.0.0 some commands are changed.
|
> With the new version 2.0.0, some command arguments have been changed to be simpler.
|
||||||
>
|
|
||||||
## Settings
|
## Settings
|
||||||
Only edit these 4 variables:
|
Only edit these 4 variables:
|
||||||
|
|
||||||
|
@ -94,6 +99,7 @@ BASE_DIR="/path/nginx_proxy_script/data"
|
||||||
--restore-id id Restore a single host configuration and its certificate (if exists)
|
--restore-id id Restore a single host configuration and its certificate (if exists)
|
||||||
|
|
||||||
🔧 Miscellaneous:
|
🔧 Miscellaneous:
|
||||||
|
--info Script and configuration information
|
||||||
--check-token Check if the current token is valid
|
--check-token Check if the current token is valid
|
||||||
--create-user user pass email Create a user with a username, password and email
|
--create-user user pass email Create a user with a username, password and email
|
||||||
--delete-user username Delete a user by username
|
--delete-user username Delete a user by username
|
||||||
|
@ -160,7 +166,8 @@ This command will show the full details of the proxy host with ID *10*, includin
|
||||||
|
|
||||||
By following these steps, you can enable SSL for your proxy host for the first time using Let's Encrypt.
|
By following these steps, you can enable SSL for your proxy host for the first time using Let's Encrypt.
|
||||||
|
|
||||||
##### Better way to check if SSL is active
|
##### Check
|
||||||
|
Better way to check if SSL is active with command --host-list :
|
||||||
|
|
||||||
./nginx_proxy_manager_cli.sh --host-list
|
./nginx_proxy_manager_cli.sh --host-list
|
||||||
|
|
||||||
|
@ -173,7 +180,10 @@ By following these steps, you can enable SSL for your proxy host for the first t
|
||||||
|
|
||||||
You should now see the parameters activated ✅
|
You should now see the parameters activated ✅
|
||||||
|
|
||||||
##### Host proxy info
|
##### Info
|
||||||
|
|
||||||
|
Host proxy info command --host-show id:
|
||||||
|
|
||||||
```
|
```
|
||||||
./nginx_proxy_manager_cli_.sh --host-show 10
|
./nginx_proxy_manager_cli_.sh --host-show 10
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue