Home > other >  Using the lua - nginx - module modification in the upstream content and reload again
Using the lua - nginx - module modification in the upstream content and reload again

Time:09-24

Great god can provide the train of thought, such as I am in nginx. There are upstream of the conf:
` ` `
Upstream value {
Server 127.0.0.1:1234;
Server 127.0.0.1:5678;
}

` ` `

Nginx to provide interfaces, such as 127.0.0.1/change, above can empty the contents of the upstream, and to load all backend server information from the redis and written to the nginx. Conf file as above in the upstream, the final execution. Reload/nginx - s,

CodePudding user response:

From the top, ahhh,
  • Related