Remove set header in compose script
Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)master
							parent
							
								
									ace71ea9c9
								
							
						
					
					
						commit
						beab2d7fbe
					
				| 
						 | 
					@ -26,8 +26,10 @@ server {
 | 
				
			||||||
      return 404;
 | 
					      return 404;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    # The docker client expects this header from the /v2/ endpoint.
 | 
					    # To add basic authentication to v2 use auth_basic setting plus add_header
 | 
				
			||||||
    more_set_headers 'Docker-Distribution-Api-Version: registry/2.0';
 | 
					    # auth_basic "registry.localhost";
 | 
				
			||||||
 | 
					    # auth_basic_user_file test.password;
 | 
				
			||||||
 | 
					    # add_header 'Docker-Distribution-Api-Version' 'registry/2.0' always;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    include               docker-registry-v2.conf;
 | 
					    include               docker-registry-v2.conf;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue