Show Table of Contents
5.4. frontend 設定
frontend 設定會配置伺服器聆聽來自用戶端連線請求的聆聽 socket。frontend 的典型 HAProxy 配置看起來像:
frontend main bind 192.168.0.10:80
名為
main 的 frontend 透過 bind 參數將 IP 位址設為 192.168.0.10,並聆聽連接埠號 80。連上後,use backend 會指定所有來自 session 的連線連往 app 後端。

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.