mirror of
https://github.com/Erreur32/nginx-proxy-manager-Bash-API.git
synced 2024-10-18 09:20:13 +02:00
Update README.md
This commit is contained in:
parent
b6c9b9a0f2
commit
c789e4fa6e
27
README.md
27
README.md
@ -159,9 +159,10 @@ BASE_DIR="/path/nginx_proxy_script/data"
|
|||||||
|
|
||||||
###### Info
|
###### Info
|
||||||
|
|
||||||
Some info settings in the script
|
Some info of settings in the script with `./nginx_proxy_manager_cli_.sh --info`
|
||||||
|
|
||||||
```
|
|
||||||
|
```bash
|
||||||
./nginx_proxy_manager_cli_.sh --info
|
./nginx_proxy_manager_cli_.sh --info
|
||||||
|
|
||||||
Script Info: 2.3.5
|
Script Info: 2.3.5
|
||||||
@ -178,6 +179,7 @@ Script Variables Information:
|
|||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
**How to activate SSL ?**
|
||||||
|
|
||||||
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.
|
||||||
|
|
||||||
@ -188,7 +190,7 @@ By following these steps, you can enable SSL for your proxy host for the first t
|
|||||||
|
|
||||||
👉 List of proxy hosts (simple)
|
👉 List of proxy hosts (simple)
|
||||||
ID Domain Status SSL
|
ID Domain Status SSL
|
||||||
1 toto.fun disable ✘
|
1 toto.fun enabled ✘
|
||||||
2 titi.fun disable ✅
|
2 titi.fun disable ✅
|
||||||
3 tutu.fun enabled ✅
|
3 tutu.fun enabled ✅
|
||||||
|
|
||||||
@ -196,23 +198,32 @@ By following these steps, you can enable SSL for your proxy host for the first t
|
|||||||
##### SSL
|
##### SSL
|
||||||
Enable SSL for the Host:
|
Enable SSL for the Host:
|
||||||
|
|
||||||
Assuming the host ID is *10*, you would enable SSL for the host as follows:
|
Assuming the host ID is *1*, you would enable SSL for the host as follows:
|
||||||
|
|
||||||
./nginx_proxy_manager_cli.sh --host-ssl-enable 10
|
./nginx_proxy_manager_cli.sh --host-ssl-enable 1
|
||||||
|
|
||||||
|
SSl is enable successfully, check again with --host-list
|
||||||
|
|
||||||
|
./nginx_proxy_manager_cli.sh --host-list
|
||||||
|
|
||||||
|
👉 List of proxy hosts (simple)
|
||||||
|
ID Domain Status SSL
|
||||||
|
1 toto.fun enabled ✅
|
||||||
|
2 titi.fun disable ✅
|
||||||
|
3 tutu.fun enabled ✅
|
||||||
|
|
||||||
SSl is enable successfully
|
|
||||||
|
|
||||||
Et Voilà.
|
Et Voilà.
|
||||||
|
|
||||||
|
|
||||||
Other Exemple command:
|
**Other Exemple command:**
|
||||||
|
|
||||||
|
|
||||||
Host proxy info command `--host-show id`
|
Host proxy info command `--host-show id`
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
./nginx_proxy_manager_cli_.sh --host-show 10
|
./nginx_proxy_manager_cli_.sh --host-show 1
|
||||||
|
|
||||||
✅ Nginx url: http://127.0.0.1:81/api
|
✅ Nginx url: http://127.0.0.1:81/api
|
||||||
✅ The token is valid. Expiry: 2025-07-12T08:14:58.521Z
|
✅ The token is valid. Expiry: 2025-07-12T08:14:58.521Z
|
||||||
|
Loading…
Reference in New Issue
Block a user