Qwebirc

Qwebirc is a fast, easy to use, free and open source IRC client designed by and originally just for the QuakeNet IRC network. Released in 2009, it's a python written web-based IRC client. It also has a fork, iris, developed by the Atheme IRC services team, and provides better integration with Atheme's IRC services. Qwebirc uses its own embedded webserver utilizing non-blocking multiplexing, and can cope with thousands of users easily. Because of this, there are two methods which can be used to direct clients to a qwebirc instance via nginx: redirection, or reverse proxy.

Redirect Method

Because qwebirc is meant to be run on its own port, you can use a redirect to send requests to qwebirc's embedded webserver. Your server block would look something like (substituting 8080 for whatever port you're using):

Note that all of the above will already be in your config.py or iris.conf, so rather than just appending your configuration file with the above, you should find the options inside your config and uncomment/change them to the above. As well, iris's config format differs slightly from the above, using "args: " instead of "ARGS = ", and such.

Once you've modified your qwebirc/iris config, you can (clean, if you've already compiled) compile and run it.