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
.
An example configuration looks like this:
toml
threads = 10
port = 8080
ip = "127.0.0.1"
threads = 10
logfile = "log.txt"
[ressources]
root = "."
index = "/test.html"
aliases = ["/test:/test.html"]
rsweb
has an SSL implementation. An example configuration using SSL looks like this:
toml
port = 8080
ip = "127.0.0.1"
threads = 10
logfile = "log.txt"
[ressources]
root = "."
index = "/test.html"
aliases = ["/test:/test.html"]
[ssl]
private_key = "privkey.pem"
certificate_chain = "certs.pem"