Merge pull request #1839 from adamvduke/adamvduke/allow-http2-registry-clients
Allow registry clients to connect via http2
This commit is contained in:
commit
c4297ef9da
5 changed files with 82 additions and 1 deletions
|
@ -198,6 +198,8 @@ information about each option that appears later in this page.
|
|||
addr: localhost:5001
|
||||
headers:
|
||||
X-Content-Type-Options: [nosniff]
|
||||
http2:
|
||||
disabled: false
|
||||
notifications:
|
||||
endpoints:
|
||||
- name: alistener
|
||||
|
@ -910,6 +912,8 @@ configuration may contain both.
|
|||
addr: localhost:5001
|
||||
headers:
|
||||
X-Content-Type-Options: [nosniff]
|
||||
http2:
|
||||
disabled: false
|
||||
|
||||
The `http` option details the configuration for the HTTP server that hosts the registry.
|
||||
|
||||
|
@ -1112,6 +1116,29 @@ Including `X-Content-Type-Options: [nosniff]` is recommended, so that browsers
|
|||
will not interpret content as HTML if they are directed to load a page from the
|
||||
registry. This header is included in the example configuration files.
|
||||
|
||||
### http2
|
||||
|
||||
The `http2` struct within `http` is **optional**. Use this to control http2
|
||||
settings for the registry.
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<th>Parameter</th>
|
||||
<th>Required</th>
|
||||
<th>Description</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<code>disabled</code>
|
||||
</td>
|
||||
<td>
|
||||
no
|
||||
</td>
|
||||
<td>
|
||||
A boolean that determines if http2 support should be disabled
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
## notifications
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue