Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
caddy
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
caddy
Commits
724829b6
Commit
724829b6
authored
May 14, 2017
by
Lucas Fontes
Committed by
Matt Holt
May 14, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
proxy: leftover from #1666 (#1669)
parent
73494ce6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
caddyhttp/proxy/upstream.go
caddyhttp/proxy/upstream.go
+1
-1
No files found.
caddyhttp/proxy/upstream.go
View file @
724829b6
...
@@ -336,7 +336,7 @@ func parseBlock(c *caddyfile.Dispenser, u *staticUpstream) error {
...
@@ -336,7 +336,7 @@ func parseBlock(c *caddyfile.Dispenser, u *staticUpstream) error {
if
n
<
0
{
if
n
<
0
{
return
c
.
Errf
(
"invalid health_check_port '%s'"
,
port
)
return
c
.
Errf
(
"invalid health_check_port '%s'"
,
port
)
}
}
u
.
HealthCheck
.
Port
=
c
.
Val
()
u
.
HealthCheck
.
Port
=
port
case
"header_upstream"
:
case
"header_upstream"
:
var
header
,
value
string
var
header
,
value
string
if
!
c
.
Args
(
&
header
,
&
value
)
{
if
!
c
.
Args
(
&
header
,
&
value
)
{
...
...
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