Last active
February 24, 2024 11:00
-
-
Save sokil/57573e90d6138547bd9c33af4cb01ce8 to your computer and use it in GitHub Desktop.
Nginx Unit Control Api
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Set new | |
curl -XPUT --unix-socket /var/run/control.unit.sock http://localhost/config/applications/app/processes -d 100 | |
# Read current | |
curl --unix-socket /var/run/control.unit.sock http://localhost/config/applications/app/processes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment