Created
April 8, 2020 21:04
-
-
Save nginx-gists/562a750e0b8af802f065869e1c6c42cf to your computer and use it in GitHub Desktop.
NGINX Unit 1.16.0 Introduces New Yet Familiar Features
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
{ | |
"action": { | |
"share": "/data/www/", | |
"fallback": { | |
"pass": "applications/php_blog" | |
} | |
} | |
} |
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
{ | |
"action": { | |
"share": "/data/www/", | |
"fallback": { | |
"share": "/data/cache/", | |
"fallback": { | |
"pass": "applications/php_blog" | |
} | |
} | |
} | |
} |
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
{ | |
"listeners": { | |
"*:80": { | |
"pass": "upstreams/rr-lb" | |
} | |
}, | |
"upstreams": { | |
"rr-lb": { | |
"servers": { | |
"192.168.0.100:8080": { }, | |
"192.168.0.101:8080": { | |
"weight": 2 | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For a discussion of these files, see NGINX Unit 1.16.0 Introduces New Yet Familiar Features