Skip to content

resolver and automatically modifies the upstream configuration without the need of restarting nginx.

Notifications You must be signed in to change notification settings

vislee/ngx_stream_upstream_dynamic_module

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

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

About

resolver and automatically modifies the upstream configuration without the need of restarting nginx.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages