uWSGI plugin for Avahi integration (based on uwsgi-bonjour)
The bonjour uWSGI plugin (https://github.com/unbit/uwsgi-bonjour) allows your instances to register services in your mDNS system.
This plugin totally mimic its behavior for non-Apple systems (currently tested only on GNU/Linux).
(Be sure to have libavahi-client development headers installed)
uwsgi --build-plugin https://github.com/20tab/uwsgi-avahi
the plugin will be built in the current directory (eventually move it to your plugins directory)
The same options of uwsgi-bonjour are exposed, just refer to:
Remember only to use avahi specific arguments instead of bonjour related:
plugins = avahi avahi-register = darthvaderisbetterthanyoda.local
In some GNU/linux distribution (ex: Ubuntu) we discovered some issue using
cname parameters, use
a instead or CNAME shortcut as in above example.