Skip to content

Instantly share code, notes, and snippets.

@nginx-gists
Created April 8, 2020 21:04
Show Gist options
  • Select an option

  • Save nginx-gists/562a750e0b8af802f065869e1c6c42cf to your computer and use it in GitHub Desktop.

Select an option

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
Copy Markdown
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