Skip to content

Latest commit

 

History

History
95 lines (62 loc) · 1.71 KB

README.markdown

File metadata and controls

95 lines (62 loc) · 1.71 KB

Name

The stream_upstream_dynamic module can be modifies the upstream server without need of restarting nginx.

Table of Contents

Status

This module is still under early development and is still experimental.

Example Configuration

stream {
    resolver 127.0.0.1:5353;

    upstream upstest {
        zone ups_dyn 3m;
        server_resolver;
        server www.test.com:8081;
    }

    server {
        listen       8080;
        proxy_pass   upstest;
    }
}

Back to TOC

Directives

server_resolver

syntax: server_resolver

default: no

context: upstream

Specify this upstream server will be monitors changes of the IP addresses that correspond to a domain name of the server, and automatically modifies the upstream.

In order for this parameter to work, the resolver directive must be specified in the stream block.

Back to TOC

TODO

Back to TOC

Author

wenqiang li(vislee)

Back to TOC

Copyright and License

This module is licensed under the BSD license.

Copyright (C) 2018, by vislee.

All rights reserved.

Back to TOC

See Also

Back to TOC