proxy pass midonet-api

Change-Id: Idf9b0e93e38101b0b17cc94e3f4f0371955641bf
This commit is contained in:
Alejandro Andreu 2017-02-17 18:31:39 +01:00
parent dae3ddca0c
commit 6c215e4f04
1 changed files with 5 additions and 1 deletions

View File

@ -172,7 +172,7 @@ class midonet::mem(
) inherits midonet::params {
$mem_ws = $insights_ssl? {true => 'wss://' , default => 'ws://'}
$api_proto = $api_ssl? {true => 'https://' , default => 'http://'}
$api_proto = $api_ssl? {true => 'https://' , default => 'http://'}
validate_bool($mem_api_token)
@ -241,6 +241,10 @@ class midonet::mem(
path => '/var/www/html/midonet-manager',
}
],
proxy_pass +> [
{ 'path' => '/midonet-api', 'url' => 'http://localhost:8181' },
],
proxy_preserve_host => true
}
}
}