proxy pass midonet-api
Change-Id: Idf9b0e93e38101b0b17cc94e3f4f0371955641bf
This commit is contained in:
parent
dae3ddca0c
commit
6c215e4f04
@ -172,7 +172,7 @@ class midonet::mem(
|
|||||||
) inherits midonet::params {
|
) inherits midonet::params {
|
||||||
|
|
||||||
$mem_ws = $insights_ssl? {true => 'wss://' , default => 'ws://'}
|
$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)
|
validate_bool($mem_api_token)
|
||||||
@ -241,6 +241,10 @@ class midonet::mem(
|
|||||||
path => '/var/www/html/midonet-manager',
|
path => '/var/www/html/midonet-manager',
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
proxy_pass +> [
|
||||||
|
{ 'path' => '/midonet-api', 'url' => 'http://localhost:8181' },
|
||||||
|
],
|
||||||
|
proxy_preserve_host => true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user