diff options
author | Venkata Harish K Kajur <vk250x@att.com> | 2018-09-19 19:09:41 +0000 |
---|---|---|
committer | Venkata Harish K Kajur <vk250x@att.com> | 2018-09-19 19:12:11 +0000 |
commit | 3e70dcedd2fa73c064b435922be711bd2815cb8d (patch) | |
tree | 98badc224390177761343beeb48662b12b6c687c /haproxy/haproxy.cfg | |
parent | fb417886112d22b8261de37c5eb2a030d6b4c1db (diff) |
Update haproxy for graphadmin
and also remove the dynamic schema
Issue-ID: AAI-1545
Change-Id: I77cea3e42d94ba758ce11c5965df54a1851280ce
Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
Diffstat (limited to 'haproxy/haproxy.cfg')
-rw-r--r-- | haproxy/haproxy.cfg | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/haproxy/haproxy.cfg b/haproxy/haproxy.cfg index 8a4001e..058e6b5 100644 --- a/haproxy/haproxy.cfg +++ b/haproxy/haproxy.cfg @@ -83,10 +83,16 @@ frontend IST_8443 acl is_Port_8446_generic path_reg -i ^/aai/v[0-9]+/search/generic-query$ acl is_Port_8446_nodes path_reg -i ^/aai/v[0-9]+/search/nodes-query$ acl is_Port_8446_version path_reg -i ^/aai/v[0-9]+/query$ + acl is_named-query path_beg -i /aai/search/named-query acl is_search-model path_beg -i /aai/search/model + + acl is_dbquery path_reg -i ^/aai/v[0-9]+/dbquery$ + use_backend IST_AAI_8446 if is_Port_8446_generic or is_Port_8446_nodes or is_Port_8446_version or is_named-query or is_search-model + use_backend IST_AAI_8449 if is_dbquery + default_backend IST_Default_8447 @@ -110,6 +116,12 @@ backend IST_AAI_8446 http-response set-header Strict-Transport-Security max-age=16000000;\ includeSubDomains;\ preload; server aai-traversal.api.simpledemo.onap.org aai-traversal.api.simpledemo.onap.org:8446 port 8446 ssl verify none +backend IST_AAI_8449 + balance roundrobin + http-request set-header X-Forwarded-Port %[src_port] + http-response set-header Strict-Transport-Security max-age=16000000;\ includeSubDomains;\ preload; + server aai-graphadmin.api.simpledemo.onap.org aai-graphadmin.api.simpledemo.onap.org:8449 port 8449 ssl verify none + listen IST_AAI_STATS mode http bind *:8080 |