mirror of
https://github.com/Erreur32/nginx-proxy-manager-Bash-API.git
synced 2025-03-11 19:08:42 +01:00
Update README.md
This commit is contained in:
parent
06552654fe
commit
511d360054
1 changed files with 23 additions and 0 deletions
23
README.md
23
README.md
|
@ -97,6 +97,29 @@ API_PASS="password"
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
# Procedure to Enable SSL for the First Time
|
||||||
|
|
||||||
|
## Generate SSL Certificate:
|
||||||
|
|
||||||
|
./nginx_proxy_manager_cli.sh --generate-cert example.com admin@example.com
|
||||||
|
|
||||||
|
## Enable SSL for the Host:
|
||||||
|
|
||||||
|
Assuming the host ID is *1*, you would enable SSL for the host as follows:
|
||||||
|
|
||||||
|
./nginx_proxy_manager_cli.sh --ssl-host-enable 1
|
||||||
|
|
||||||
|
## Verifying the Configuration
|
||||||
|
|
||||||
|
After running the above commands, you can verify the SSL configuration by checking the details of the proxy host.
|
||||||
|
|
||||||
|
./nginx_proxy_manager_cli.sh --show-host 1
|
||||||
|
|
||||||
|
This command will show the full details of the proxy host with ID *1*, including whether SSL is enabled.
|
||||||
|
|
||||||
|
By following these steps, you can enable SSL for your proxy host for the first time using Let's Encrypt.
|
||||||
|
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
## TODO:
|
## TODO:
|
||||||
|
|
Loading…
Reference in a new issue