Skip to content

Commit cd99f6e

Browse files
authored
docs: fix registry server configuration example in README (#328, #329)
1 parent f015187 commit cd99f6e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,9 +167,9 @@ services:
167167
image: registry:2.8.2
168168
restart: always
169169
environment:
170-
REGISTRY_HTTP_HEADERS_Access-Control-Origin: '[http://registry.example.com]'
170+
REGISTRY_HTTP_HEADERS_Access-Control-Allow-Origin: '[http://registry.example.com]'
171171
REGISTRY_HTTP_HEADERS_Access-Control-Allow-Methods: '[HEAD,GET,OPTIONS,DELETE]'
172-
REGISTRY_HTTP_HEADERS_Access-Control-Credentials: '[true]'
172+
REGISTRY_HTTP_HEADERS_Access-Control-Allow-Credentials: '[true]'
173173
REGISTRY_HTTP_HEADERS_Access-Control-Allow-Headers: '[Authorization,Accept,Cache-Control]'
174174
REGISTRY_HTTP_HEADERS_Access-Control-Expose-Headers: '[Docker-Content-Digest]'
175175
REGISTRY_STORAGE_DELETE_ENABLED: 'true'

0 commit comments

Comments
 (0)