I am having trouble routing KiwiBNC IRC bouncer webchat into a path on my site.
With the config seen below, I can access the webchat via the server IP and port 3001, plain http. I had to use this when I was still using Caddy v1 as well as I was unable to figure out a proper config after some changes in KiwiBNC routing code.
The location of the 404’d file on disk is
The source for KiwiBNC’s webchat routing:
# Each listener accepts plain TCP connections, Websocket connections, and HTTP requests if enabled
bind = [
# Websocket connections will only be allowed from these whitelisted websites
websocket_origins = [
# A static HTTP server. Handy for serving a web client such as Kiwi IRC
# If the webchat extension is enabled too, Kiwi IRC will automatically be downloaded
# and configured into the public_dir.
enabled = true
base_path = "/"
public_dir = "/var/www/kiwidata/kiwiirc"
# Extra configuration for the Kiwi web interface. The webchat extension must be loaded
# See https://github.com/kiwiirc/kiwiirc/wiki/Configuration-Options
# In exotic server setups or reverse proxies the correct BNC server may not be correctly detected.
# This server option should point to a listener address as configured above.
"startupOptions.websocket" = "wss://mysite.org/kiwibnc/ws/"