All checks were successful
Version Bump Galaxy.yml / Version Bump Galaxy.yml (push) Successful in 4s
26 lines
692 B
Django/Jinja
26 lines
692 B
Django/Jinja
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
# SPDX-FileCopyrightText: 2025 Dosh LLC
|
|
(websocket) {
|
|
handle {args[0]} {
|
|
@websockets {
|
|
header_regexp Connection ".*[U|u]pgrade.*"
|
|
header Upgrade websocket
|
|
}
|
|
reverse_proxy @websockets {args[1]}
|
|
}
|
|
}
|
|
|
|
(websocket_tls) {
|
|
handle {args[0]} {
|
|
@websockets {
|
|
header_regexp Connection ".*[U|u]pgrade.*"
|
|
header Upgrade websocket
|
|
}
|
|
reverse_proxy @websockets {args[1]} {
|
|
transport http {
|
|
tls_insecure_skip_verify
|
|
}
|
|
header_up Host {http.reverse_proxy.upstream.hostport}
|
|
}
|
|
}
|
|
}
|