Rafael Tomelin
2018-11-22 17:38:20 UTC
Hi,
How can configuration proxy_apps
<https://forge.puppet.com/puppetlabs/apache#proxy_pass> with hiera - yaml?
I have multiple proxy_pass, not run.
Example to migrate for YAML:
proxy_pass => [
{ 'path' => '/a', 'url' => 'http://backend-a/' },
{ 'path' => '/b', 'url' => 'http://backend-b/' },
{ 'path' => '/c', 'url' => 'http://backend-a/c', 'params' =>
{'max'=>20, 'ttl'=>120, 'retry'=>300}},
{ 'path' => '/l', 'url' => 'http://backend-xy',
'reverse_urls' => ['http://backend-x', 'http://backend-y'] },
{ 'path' => '/d', 'url' => 'http://backend-a/d',
'params' => { 'retry' => '0', 'timeout' => '5' }, },
{ 'path' => '/e', 'url' => 'http://backend-a/e',
'keywords' => ['nocanon', 'interpolate'] },
{ 'path' => '/f', 'url' => 'http://backend-f/',
'setenv' => ['proxy-nokeepalive 1','force-proxy-request-1.0 1']},
{ 'path' => '/g', 'url' => 'http://backend-g/',
'reverse_cookies' => [{'path' => '/g', 'url' =>
'http://backend-g/',}, {'domain' => 'http://backend-g', 'url' =>
'http:://backend-g',},], },
{ 'path' => '/h', 'url' => 'http://backend-h/h',
'no_proxy_uris' => ['/h/admin', '/h/server-status'] },
],
--
Atenciosamente,
Rafael Tomelin
skype: rafael.tomelin
E-mail: ***@gmail.com
RHCE - Red Hat Certified Engineer
PPT-205 - Puppet Certified Professional 2017
Zabbix - ZABBIX Certified Specialist
LPI3
ITIL v3
How can configuration proxy_apps
<https://forge.puppet.com/puppetlabs/apache#proxy_pass> with hiera - yaml?
I have multiple proxy_pass, not run.
Example to migrate for YAML:
proxy_pass => [
{ 'path' => '/a', 'url' => 'http://backend-a/' },
{ 'path' => '/b', 'url' => 'http://backend-b/' },
{ 'path' => '/c', 'url' => 'http://backend-a/c', 'params' =>
{'max'=>20, 'ttl'=>120, 'retry'=>300}},
{ 'path' => '/l', 'url' => 'http://backend-xy',
'reverse_urls' => ['http://backend-x', 'http://backend-y'] },
{ 'path' => '/d', 'url' => 'http://backend-a/d',
'params' => { 'retry' => '0', 'timeout' => '5' }, },
{ 'path' => '/e', 'url' => 'http://backend-a/e',
'keywords' => ['nocanon', 'interpolate'] },
{ 'path' => '/f', 'url' => 'http://backend-f/',
'setenv' => ['proxy-nokeepalive 1','force-proxy-request-1.0 1']},
{ 'path' => '/g', 'url' => 'http://backend-g/',
'reverse_cookies' => [{'path' => '/g', 'url' =>
'http://backend-g/',}, {'domain' => 'http://backend-g', 'url' =>
'http:://backend-g',},], },
{ 'path' => '/h', 'url' => 'http://backend-h/h',
'no_proxy_uris' => ['/h/admin', '/h/server-status'] },
],
--
Atenciosamente,
Rafael Tomelin
skype: rafael.tomelin
E-mail: ***@gmail.com
RHCE - Red Hat Certified Engineer
PPT-205 - Puppet Certified Professional 2017
Zabbix - ZABBIX Certified Specialist
LPI3
ITIL v3
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CAGEUqbC0B4%2Beuuj2AETeaT86KuTEn%2BhWvKvaWgkPOauFN9y0Rg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CAGEUqbC0B4%2Beuuj2AETeaT86KuTEn%2BhWvKvaWgkPOauFN9y0Rg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.