[ 
https://issues.apache.org/jira/browse/STRATOS-401?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13891275#comment-13891275
 ] 

Imesh Gunaratne edited comment on STRATOS-401 at 2/4/14 9:56 PM:
-----------------------------------------------------------------

A sample configuration:
global
    daemon
    maxconn 256
    stats socket /tmp/haproxy-stats.socket

defaults
    mode http
    timeout connect 5000ms
    timeout client 50000ms
    timeout server 50000ms

frontend service-1-cluster1-host-foo.org-proxy-9080
        bind foo.org:9080
        mode http
        default_backend service-1-cluster1-host-foo.org-proxy-9080-members

backend service-1-cluster1-host-foo.org-proxy-9080-members
        mode http
        server service-1-cluster1-member-1 127.0.0.1:8080

Implemented with commit revision: 4221ec8e74979f0b0a65cb2ee4278e7c90c258d2


was (Author: imesh):
A sample configuration:
global
    daemon
    maxconn 256
    stats socket /tmp/haproxy-stats.socket

defaults
    mode http
    timeout connect 5000ms
    timeout client 50000ms
    timeout server 50000ms

frontend 
service-4462ee77-fdbd-48a8-a9a0-f8f7d5137a43-cluster1-host-foo.org-proxy-9080
        bind foo.org:9080
        mode http
        default_backend service-1-cluster1-host-foo.org-proxy-9080-members

backend service-1-cluster1-host-foo.org-proxy-9080-members
        mode http
        server service-1-cluster1-member-1 127.0.0.1:8080

Implemented with commit revision: 4221ec8e74979f0b0a65cb2ee4278e7c90c258d2

> Add Mode Property to HA Proxy Configuration Frontend Backend Blocks
> -------------------------------------------------------------------
>
>                 Key: STRATOS-401
>                 URL: https://issues.apache.org/jira/browse/STRATOS-401
>             Project: Stratos
>          Issue Type: Improvement
>          Components: Load Balancer
>            Reporter: Imesh Gunaratne
>            Assignee: Imesh Gunaratne
>
> Currently in HA Proxy Extension mode property is only available in the 
> default configuration section in the configuration template file. However we 
> could added this to the frontend and backend sections as specified in 
> cartridge definition ports.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to