Merge pull request #1491 from RichardScothern/relative-url
Return relative URLs
This commit is contained in:
commit
9e690c7fa2
10 changed files with 237 additions and 98 deletions
|
@ -179,6 +179,7 @@ information about each option that appears later in this page.
|
|||
prefix: /my/nested/registry/
|
||||
host: https://myregistryaddress.org:5000
|
||||
secret: asecretforlocaldevelopment
|
||||
relativeurls: false
|
||||
tls:
|
||||
certificate: /path/to/x509/public
|
||||
key: /path/to/x509/private
|
||||
|
@ -902,6 +903,7 @@ configuration may contain both.
|
|||
prefix: /my/nested/registry/
|
||||
host: https://myregistryaddress.org:5000
|
||||
secret: asecretforlocaldevelopment
|
||||
relativeurls: false
|
||||
tls:
|
||||
certificate: /path/to/x509/public
|
||||
key: /path/to/x509/private
|
||||
|
@ -989,6 +991,19 @@ generate a secret at launch.
|
|||
ensure the secret is the same for all registries.</b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<code>relativeurls</code>
|
||||
</td>
|
||||
<td>
|
||||
no
|
||||
</td>
|
||||
<td>
|
||||
Specifies that the registry should return relative URLs in Location headers.
|
||||
The client is responsible for resolving the correct URL. This option is not
|
||||
compatible with Docker 1.7 and earlier.
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue