rsweb
a web server and creation library for multithreaded web servers
Installation
rsweb
has a docker image uludev/rsweb:latest
which will run an x86_64
executable.
It expects a configuration file to be in /etc/rsweb/rsweb.config.toml
and it will log to /var/log/rsweb/latest.log
.
Configuration
An example configuration looks like this:
= 10
= 8080
= "127.0.0.1"
= 10
= "log.txt"
[]
= "."
= "/test.html"
= ["/test:/test.html"]
SSL
rsweb
has an SSL implementation. An example configuration using SSL looks like this:
= 8080
= "127.0.0.1"
= 10
= "log.txt"
[]
= "."
= "/test.html"
= ["/test:/test.html"]
[]
= "privkey.pem"
= "certs.pem"