Skip to content

Commit

Permalink
add command deleting SSL bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
Jencir Lee committed Mar 23, 2024
1 parent 98a473b commit 8207dfa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions _posts/2024-03-23-Nginx-Unit-Some-Control-Commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ curl -X PUT --data-binary @config.json --unix-socket /run/control.unit.sock http
#
curl -X PUT --data-binary @bundle.pem --unix-socket /run/control.unit.sock http://localhost/certificates/bundle

# delete SSL bundle
curl -X DELETE --unix-socket /run/control.unit.sock http://localhost/certificates/bundle

# change one item in the configuration
curl -X PUT -d '"/var/log/unit/access.log"' --unix-socket /run/control.unit.sock http://localhost/config/access_log

Expand Down

0 comments on commit 8207dfa

Please sign in to comment.