Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Nest
Puppet
Commits
10ce89df
Commit
10ce89df
authored
Nov 30, 2020
by
James T. Lee
Browse files
revproxy: Syntax tweaks
parent
9e54f698
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
manifests/lib/revproxy.pp
manifests/lib/revproxy.pp
+5
-5
No files found.
manifests/lib/revproxy.pp
View file @
10ce89df
...
@@ -17,20 +17,20 @@ define nest::lib::revproxy (
...
@@ -17,20 +17,20 @@ define nest::lib::revproxy (
$proxy_pass_match
=
[
$proxy_pass_match
=
[
$websockets
?
{
$websockets
?
{
undef
=>
[],
undef
=>
[],
default
=>
[
{
default
=>
{
'path'
=>
"^/(
${websockets}
)
$
"
,
'path'
=>
"^/(
${websockets}
)
$
"
,
'url'
=>
"ws://
${destination}
/
\$
1"
,
'url'
=>
"ws://
${destination}
/
\$
1"
,
'reverse_urls'
=>
[]
'reverse_urls'
=>
[]
,
}
]
,
},
},
},
$allow_encoded_slashes
?
{
$allow_encoded_slashes
?
{
true
=>
[
{
true
=>
{
'path'
=>
'^/(.*)$'
,
'path'
=>
'^/(.*)$'
,
'url'
=>
"http://
${destination}
/
\$
1"
,
'url'
=>
"http://
${destination}
/
\$
1"
,
'keywords'
=>
[
'nocanon'
],
'keywords'
=>
[
'nocanon'
],
'reverse_urls'
=>
[],
'reverse_urls'
=>
[],
}
]
,
},
default
=>
[],
default
=>
[],
},
},
]
.
flatten
]
.
flatten
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment