Compare commits

..

No commits in common. "56f490b360267729bc648373bbe1ef77e79ec21a" and "95b32880d126f6aac9348a74a74f310300349469" have entirely different histories.

View file

@ -10,16 +10,13 @@
6. [Usage](#usage)
7. [Options](#options)
8. [Examples](#examples)
9. [SSL](#ssl) |
[List HOST](#check) |
[Info](#info)
12. [Screens](#screens)
13. [TODO](#todo)
9. [Screens](#screens)
10. [TODO](#todo)
> [!WARNING]
> The restore function of the --restore command may not work correctly (a fix is in progress)
> Sometime Global RESTORE (--restore) function may not works for HOST only (fix will come)
>
> Single RESTORE --restore-id (necessary to add hosts one by one) should work fine.
> Single RESTORE (--restore-id , add host one by one) should work well.
## Description
@ -29,9 +26,7 @@
⚙️ 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 !
La fonction RESTORE n'est pas encore terminée.
## Reference
![https://github.com/NginxProxyManager/nginx-proxy-manager/tree/develop/backend/schema](https://github.com/NginxProxyManager/nginx-proxy-manager/tree/develop/backend/schema)
@ -57,8 +52,8 @@ chmod +x nginx_proxy_manager_cli.sh
> [!IMPORTANT]
> With the new version 2.0.0, some command arguments have been changed to be simpler.
> With new version 2.0.0 some commands are changed.
>
## Settings
Only edit these 4 variables:
@ -99,13 +94,12 @@ BASE_DIR="/path/nginx_proxy_script/data"
--restore-id id Restore a single host configuration and its certificate (if exists)
🔧 Miscellaneous:
--info Script and configuration information
--check-token Check if the current token is valid
--create-user user pass email Create a user with a username, password and email
--delete-user username Delete a user by username
--check-token Check if the current token is valid
--create-user user pass email Create a user with a username, password and email
--delete-user username Delete a user by username
--host-delete id Delete a proxy host by ID
--host-show id Show full details for a specific host by ID
--show-default Show default settings for creating hosts
--show-default Show default settings for creating hosts
--host-list List the names of all proxy hosts
--host-list-full List all proxy hosts with full details
--host-list-ssl-certificates List all SSL certificates
@ -166,8 +160,7 @@ 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.
##### Check
Better way to check if SSL is active with command --host-list :
##### Better way to check if SSL is active
./nginx_proxy_manager_cli.sh --host-list
@ -180,10 +173,7 @@ By following these steps, you can enable SSL for your proxy host for the first t
You should now see the parameters activated ✅
##### Info
Host proxy info command --host-show id:
##### Host proxy info
```
./nginx_proxy_manager_cli_.sh --host-show 10