lighttpd
lighttpd est un léger serveur HTTP qui peut être configuré comme un proxy inverse approprié via le module mod_proxy.
SSL
Une implémentation du support SSL via le module mod_openssl utilisant OpenSSL peut apparaître comme suit :
$SERVER["socket"] == "[::]:443" {
ssl.engine = "enable"
ssl.cipher-list = "HIGH"
$HTTP["host"] == "owncast.yourdomain.com" {
ssl.pemfile = "/etc/letsencrypt/live/yourdomain.com/fullchain.pem"
ssl.privkey = "/etc/letsencrypt/live/yourdomain.com/privkey.pem"
ssl.dh-file = "/etc/letsencrypt/ssl-dhparams.pem"
}
}
Proxy inverse
Le proxy des connexions websocket entrantes est intégré au module.
Une configuration d'exemple pour lighttpd pourrait apparaître comme suit :
$HTTP["host"] == "owncast.yourdomain.com" {
# Forward all requests to Owncast:
proxy.server = ( "" => ( ( "host" => "127.0.0.1", "port" => 8080 ) ) )
proxy.forwarded = ( "host" => 1,
"proto" => 1,
"for" => 1,
"remote_user" => 1 )
# Required for websocket (chat) forwarding:
proxy.header = ( "upgrade" => "enable" )
}
Improve this page
See something missing or incorrect? Edit the English version of this page or help improve translations.
Contributors to this documentation
