Optional bind?: string"0.0.0.0"
0.0.4
Optional compression?: { Various Compression-Related Settings
9.0.0
Optional http?: { HTTP Compression Settings
9.0.0
Optional enabled?: booleanWhether HTTP Compression is enabled
true
9.0.0
Optional maxThe Maximum Size of an Item allowed to be compressed
size(10).mb()
9.0.0
Optional minThe Minimum Size of an Item allowed to be compressed
size(1).kb()
Optional preferThe Order in which to prefer Compression Algorithms, non included wont be used
["brotli", "gzip", "deflate"]
9.0.0
Optional ws?: { WebSocket Compression Settings
9.0.0
Optional enabled?: booleanWhether WebSocket Compression is enabled
true
9.0.0
Optional maxThe Maximum Size of an Item allowed to be compressed
size(1).mb()
9.0.0
Optional logging?: { Various Logging-Related Settings
7.4.0
Optional debug?: booleanWhether to enable DEBUG Logs
false
7.4.0
Optional error?: booleanWhether to enable ERROR Logs
true
7.4.0
Optional warn?: booleanWhether to enable WARN Logs
true
7.4.0
Optional methods?: { The HTTP Methods that should automatically be handled for you
9.5.0
Optional head?: booleanWhether to automatically handle HEAD Requests
true
9.5.0
Optional trace?: booleanWhether to automatically handle TRACE Requests
false
9.5.0
Optional performance?: { Various Performance-Related Settings
6.3.0
Optional eWhether to include ETag Headers on every request with a direct Body
true
6.3.0
Optional lastWhether to include Last-Modified Headers on every request that serves a file
true
6.3.0
Optional port?: numberThe Port to use for the Server, can be random using 0
0
0.0.1
Optional proxy?: { HTTP Proxy Options
8.0.0
Optional compress?: booleanWhether to compress the requests
false
9.0.0
Optional credentials?: { The Credentials that the proxy will use
8.0.0
Optional authenticate?: booleanWhether to authenticate proxy requests
false
8.0.0
Optional password?: stringThe Password required to authenticate
"proxy"
8.0.0
Optional username?: stringThe Username required to authenticate
"proxy"
8.0.0
Optional enabled?: booleanWhether to check for proxies and use alternate IPs
false
8.0.0
Optional force?: booleanWhether to force all requests through the proxy
false
8.0.0
Optional header?: Lowercase<string>The Header to use for getting the actual IP address, it must only include the IP address
"x-forwarded-for"
8.0.0
Optional ips?: { The IPs the server will validate against
9.0.0
Optional list?: (network.IPAddress | network.Subnet)[]The List of Authorized (or Unauthorized) Proxy IPs
[...ReverseProxyIps.LOCAL, ...ReverseProxyIps.CLOUDFLARE]
9.0.0
Optional mode?: "whitelist" | "blacklist"The Mode in which to validate the list
"whitelist"
9.0.0
Optional validate?: booleanWhether to validate proxy ips
false
9.0.0
Optional version?: booleanWhether to add the rjweb-server header that contains the version
true
9.0.0
THe IP Address to bind the server to