Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
SSL を Stud で終了し、リクエストを HAProxy に転送します。HAProxy は、それが WebSocket 接続であるかどうかを判断し、リクエストを Node.js または nginx に転送します。私が抱えている問題は、スタッドから X-forwarded-for を取得できないように見えることです。スタッド conf に write-ip を設定すると、リクエストが失敗します。
これはそのようなスタックで可能ですか?
スタッドは「ダム」プロキシであるため、ヘッダーを変更することはできません。HAProxy -> Nginx なら確実にやりたいことができます。
オプションはスタッドではなくポンドです。