diff --git a/docs/recipes/nginx.md b/docs/recipes/nginx.md index 89a5834ec..5a0c05d00 100644 --- a/docs/recipes/nginx.md +++ b/docs/recipes/nginx.md @@ -100,8 +100,7 @@ http { ## In the case of nginx performing auth, the header will be unset ## since nginx is auth-ing before proxying. map $upstream_http_docker_distribution_api_version $docker_distribution_api_version { - 'registry/2.0' ''; - default registry/2.0; + '' 'registry/2.0'; } server {