Skip to content

Commit 57d978c

Browse files
aaronshurleyAnonymous Coward
authored andcommitted
Bump src/code.cloudfoundry.org/gorouter
Bump Aaron Hurley: allow http listener to be disabled introduce new config property DisableHTTP [finishes #150118951]
1 parent 37c4a9f commit 57d978c

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

jobs/gorouter/spec

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,9 @@ properties:
7474
router.enable_ssl:
7575
description: "When enabled, Gorouter will listen on port 443 and terminate TLS for requests received on this port."
7676
default: false
77+
router.disable_http:
78+
description: Disables the http listener on port specified by router.port. This cannot be set to true if enable_ssl is false.
79+
default: false
7780
router.min_tls_version:
7881
description: Minimum accepted version of TLS protocol. All versions above this will also be accepted. Valid values are TLSv1.0, TLSv1.1, and TLSv1.2.
7982
default: TLSv1.2

jobs/gorouter/templates/gorouter.yml.erb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ enable_ssl: <%= p("router.enable_ssl") %>
109109
tls_pem: <%= p("router.tls_pem") %>
110110
min_tls_version: <%= p("router.min_tls_version") %>
111111
<% end %>
112+
disable_http: <%= p("router.disable_http") %>
112113
ca_certs: <%= p("router.ca_certs") %>
113114
skip_ssl_validation: <%= p("router.ssl_skip_validation") %>
114115
cipher_suites: <%= p("router.cipher_suites") %>

0 commit comments

Comments
 (0)