mirror of
https://github.com/Erreur32/nginx-proxy-manager-Bash-API.git
synced 2024-12-22 13:32:11 +01:00
Update README.md
This commit is contained in:
parent
e14bb2ed50
commit
35d0b2f355
1 changed files with 16 additions and 6 deletions
22
README.md
22
README.md
|
@ -138,13 +138,14 @@ BASE_DIR="/path/nginx_proxy_script/data"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
#### Enable SSL for the Host:
|
#### SSL
|
||||||
|
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 *10*, 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 10
|
||||||
|
|
||||||
#### Verifying the Configuration
|
##### Verifying the Configuration
|
||||||
|
|
||||||
After running the above commands, you can verify the SSL configuration by checking the details of the proxy host.
|
After running the above commands, you can verify the SSL configuration by checking the details of the proxy host.
|
||||||
|
|
||||||
|
@ -154,11 +155,20 @@ 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.
|
||||||
|
|
||||||
You should now see the parameters activated:
|
##### Better way to check if SSL is active
|
||||||
- "ssl_forced": 1,
|
|
||||||
- "letsencrypt_agree": true,
|
|
||||||
- "http2_support": 1
|
|
||||||
|
|
||||||
|
./nginx_proxy_manager_cli.sh --host-list
|
||||||
|
|
||||||
|
👉 List of proxy hosts (simple)
|
||||||
|
ID Domain Status SSL
|
||||||
|
1 toto.fun disable ✘
|
||||||
|
2 titi.fun disable ✅
|
||||||
|
3 tutu.fun enabled ✅
|
||||||
|
|
||||||
|
|
||||||
|
You should now see the parameters activated ✅
|
||||||
|
|
||||||
|
##### Host proxy info
|
||||||
```
|
```
|
||||||
./nginx_proxy_manager_cli_.sh --host-show 10
|
./nginx_proxy_manager_cli_.sh --host-show 10
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue