Example configuration
Configuration files normally live in /etc/uhub/ on Unix systems.
- uhub.conf
- The main configuration file.
- plugins.conf
- The plug-in configuration file.
uhub.conf
hub_name = My Public Hub
hub_description = Yet another ADC hub
server_port = 12345
server_bind_addr = any
max_users = 150
plugins.conf
plugin /var/lib/uhub/mod_auth_sqlite.so "file=/etc/uhub/users.db"
plugin /var/lib/uhub/mod_logging.so "file=/var/log/uhub/uhub.log"
plugin /var/lib/uhub/mod_welcome.so "motd=/etc/uhub/motd.txt rules=/etc/uhub/rules.txt"
plugin /var/lib/uhub/mod_chat_history.so "history_max=200 history_default=10 history_connect=5"
See the configuration reference for every available directive, and the plug-ins page for details on each module.