KRZN.live
Features

Expose the server in a subfolder

HTTP-based services (Media-over-QUIC, WebRTC, HLS, Control API, Playback Server, Metrics, pprof) can be exposed in a subfolder of an external HTTP server or reverse proxy. The reverse proxy must be able to intercept HTTP requests addressed to KRZN Live and corresponding responses, and must perform the following changes:

Nginx

When Nginx is the reverse proxy, rules described above can be implemented with the following configuration:

location /subpath/ {
    proxy_pass http://krznlive-ip:8889/;
    proxy_redirect / /subpath/;
}

Apache HTTP Server

When Apache HTTP Server is the reverse proxy, rules described above can be implemented with the following configuration:

<Location /subpath>
    ProxyPass http://krznlive-ip:8889
    ProxyPassReverse http://krznlive-ip:8889
    Header edit Location ^(.*)$ "/subpath$1"
</Location>

Caddy

When Caddy is the reverse proxy, rules described above can be implemented with the following configuration:

:80 {
    handle_path /subpath/* {
        reverse_proxy {
            to krznlive-ip:8889
            header_down Location ^/ /subpath/
        }
    }
}
Message us