Este conteúdo não está disponível no idioma selecionado.
5.4. Frontend Settings
The
frontend settings configure the servers' listening sockets for client connection requests. A typical HAProxy configuration of the frontend may look like the following:
frontend main bind 192.168.0.10:80 default_backend app
frontend main
bind 192.168.0.10:80
default_backend app
The
frontend called main is configured to the 192.168.0.10 IP address and listening on port 80 using the bind parameter. Once connected, the use backend specifies that all sessions connect to the app back end.