Browse Source

service nginx force-reload

cron
neilpang 8 years ago
parent
commit
4743171b4f
  1. 4
      README.md

4
README.md

@ -147,7 +147,7 @@ acme.sh --installcert -d example.com \
--certpath /path/to/certfile/in/apache/cert.pem \ --certpath /path/to/certfile/in/apache/cert.pem \
--keypath /path/to/keyfile/in/apache/key.pem \ --keypath /path/to/keyfile/in/apache/key.pem \
--fullchainpath /path/to/fullchain/certfile/apache/fullchain.pem \ --fullchainpath /path/to/fullchain/certfile/apache/fullchain.pem \
--reloadcmd "service apache2 restart"
--reloadcmd "service apache2 force-reload"
``` ```
**Nginx** example: **Nginx** example:
@ -155,7 +155,7 @@ acme.sh --installcert -d example.com \
acme.sh --installcert -d example.com \ acme.sh --installcert -d example.com \
--keypath /path/to/keyfile/in/nginx/key.pem \ --keypath /path/to/keyfile/in/nginx/key.pem \
--fullchainpath /path/to/fullchain/nginx/cert.pem \ --fullchainpath /path/to/fullchain/nginx/cert.pem \
--reloadcmd "service nginx restart"
--reloadcmd "service nginx force-reload"
``` ```
Only the domain is required, all the other parameters are optional. Only the domain is required, all the other parameters are optional.

Loading…
Cancel
Save