Skip to content

Instantly share code, notes, and snippets.

@nginx-gists
Created April 8, 2020 21:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nginx-gists/562a750e0b8af802f065869e1c6c42cf to your computer and use it in GitHub Desktop.
Save nginx-gists/562a750e0b8af802f065869e1c6c42cf to your computer and use it in GitHub Desktop.
NGINX Unit 1.16.0 Introduces New Yet Familiar Features
{
"action": {
"share": "/data/www/",
"fallback": {
"pass": "applications/php_blog"
}
}
}
{
"action": {
"share": "/data/www/",
"fallback": {
"share": "/data/cache/",
"fallback": {
"pass": "applications/php_blog"
}
}
}
}
{
"listeners": {
"*:80": {
"pass": "upstreams/rr-lb"
}
},
"upstreams": {
"rr-lb": {
"servers": {
"192.168.0.100:8080": { },
"192.168.0.101:8080": {
"weight": 2
}
}
}
}
}
@nginx-gists
Copy link
Author

For a discussion of these files, see NGINX Unit 1.16.0 Introduces New Yet Familiar Features

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment