From eb8f00c8eceb95a74a0c7b7cb1e47d7a6cc818d7 Mon Sep 17 00:00:00 2001 From: Bartosz Wieczorek Date: Wed, 25 Jun 2025 19:04:41 +0200 Subject: [PATCH] Fix proxy for websockets --- PAM/ssh/include/rublon/websockets.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/PAM/ssh/include/rublon/websockets.hpp b/PAM/ssh/include/rublon/websockets.hpp index 1e6c70d..5c55842 100644 --- a/PAM/ssh/include/rublon/websockets.hpp +++ b/PAM/ssh/include/rublon/websockets.hpp @@ -107,7 +107,9 @@ class WebSocket { // Set environment variable for libwebsockets to pick up log(LogLevel::Debug, "WebSocket proxy %s", proxyUrl.c_str()); + info.http_proxy_address = proxyUrl.c_str(); + info.http_proxy_port = config.proxyPort.value_or(8080); } const std::string_view prefix = "https://";