summaryrefslogtreecommitdiff
path: root/plugins/http/config/http.go
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-03-16 14:16:03 +0300
committerValery Piashchynski <[email protected]>2021-03-16 14:16:03 +0300
commit6958ad0069656cc71ec2e4cae1cfc69954ba7410 (patch)
tree5d3337f7adca8c0741a5a93d0501469c85ed8b99 /plugins/http/config/http.go
parent102e473110b9be0924193aeecd4b946a7053737e (diff)
👷 Correct the http internal redirect code
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'plugins/http/config/http.go')
-rw-r--r--plugins/http/config/http.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/http/config/http.go b/plugins/http/config/http.go
index d48ed022..8b63395f 100644
--- a/plugins/http/config/http.go
+++ b/plugins/http/config/http.go
@@ -97,7 +97,7 @@ func (c *HTTP) InitDefaults() error {
}
if c.SSLConfig.Address == "" {
- c.SSLConfig.Address = ":443"
+ c.SSLConfig.Address = "127.0.0.1:443"
}
err := c.HTTP2Config.InitDefaults()