https://github.com/20tab/uwsgi-avahi
uWSGI plugin for avahi integration (based on uwsgi-bonjour)
https://github.com/20tab/uwsgi-avahi
Last synced: about 1 year ago
JSON representation
uWSGI plugin for avahi integration (based on uwsgi-bonjour)
- Host: GitHub
- URL: https://github.com/20tab/uwsgi-avahi
- Owner: 20tab
- License: mit
- Created: 2014-03-29T19:24:52.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2017-07-21T13:13:29.000Z (almost 9 years ago)
- Last Synced: 2025-04-13T16:12:48.041Z (about 1 year ago)
- Language: C
- Size: 4.88 KB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
uwsgi-avahi
===========
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).
Building it
===========
*(Be sure to have libavahi-client development headers installed)*
Just run
```sh
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)*
Using it
========
The same options of uwsgi-bonjour are exposed, just refer to:
https://github.com/unbit/uwsgi-bonjour/blob/master/README.md
Remember only to use avahi specific arguments instead of bonjour related:
```ini
plugins = avahi
avahi-register = darthvaderisbetterthanyoda.local
```
Notes
-----
In some GNU/linux distribution (ex: Ubuntu) we discovered some issue using `cname` parameters, use `a` instead or CNAME shortcut as in above example.