CARVIEW |
Select Language
HTTP/2 301
location: https://raw.githubusercontent.com/sockjs/sockjs-node/master/examples/haproxy.cfg
accept-ranges: bytes
age: 0
date: Fri, 25 Jul 2025 03:57:40 GMT
via: 1.1 varnish
x-served-by: cache-bom-vanm7210021-BOM
x-cache: MISS
x-cache-hits: 0
x-timer: S1753415859.943018,VS0,VE1225
vary: Accept-Encoding
x-fastly-request-id: 0f817f323d905a1e343bbb491f2f3195b769997f
content-length: 0
HTTP/2 200
cache-control: max-age=300
content-security-policy: default-src 'none'; style-src 'unsafe-inline'; sandbox
content-type: text/plain; charset=utf-8
etag: W/"a493fadd4051fbdea30eb8f7e31028b4f7e6238e6fc85784e0b55ef31e95f09a"
strict-transport-security: max-age=31536000
x-content-type-options: nosniff
x-frame-options: deny
x-xss-protection: 1; mode=block
x-github-request-id: 715C:32267E:23C59:89FAA:688300B3
content-encoding: gzip
accept-ranges: bytes
date: Fri, 25 Jul 2025 03:57:40 GMT
via: 1.1 varnish
x-served-by: cache-bom-vanm7210092-BOM
x-cache: MISS
x-cache-hits: 0
x-timer: S1753415860.218283,VS0,VE271
vary: Authorization,Accept-Encoding
access-control-allow-origin: *
cross-origin-resource-policy: cross-origin
x-fastly-request-id: eeeae9048b03fab71d904ab26ef5e3a9d0bfedef
expires: Fri, 25 Jul 2025 04:02:40 GMT
source-age: 0
content-length: 524
# Requires recent Haproxy to work with websockets (for example 1.4.16).
defaults
mode http
# Set timeouts to your needs
timeout client 5s
timeout connect 5s
timeout server 5s
frontend all 0.0.0.0:8888
mode http
timeout client 120s
option forwardfor
# Fake connection:close, required in this setup.
option http-server-close
option http-pretend-keepalive
acl is_sockjs path_beg /echo /broadcast /close
acl is_stats path_beg /stats
use_backend sockjs if is_sockjs
use_backend stats if is_stats
default_backend static
backend sockjs
# Load-balance according to hash created from first two
# directories in url path. For example requests going to /1/
# should be handled by single server (assuming resource prefix is
# one-level deep, like "/echo").
balance uri depth 2
timeout server 120s
server srv_sockjs1 127.0.0.1:9999
# server srv_sockjs2 127.0.0.1:9998
backend static
balance roundrobin
server srv_static 127.0.0.1:8000
backend stats
stats uri /stats
stats enable