From version 4.4.0 of Artifactory, the ‘X-Artifactory-Override-Base-Url’
header is required on a reverse proxy configuration for Docker. The Docker
login and other Docker commands will fail to work if the header below is not
configured correctly (e.g. missing a port).
 
The line needs to include the server port number, as such:
proxy_set_header X-Artifactory-Override-Base-Url
$http_x_forwarded_proto://$host:$server_port/<public context>;
 
For example,
proxy_set_header X-Artifactory-Override-Base-Url
$http_x_forwarded_proto://$host:$server_port
OR
proxy_set_header X-Artifactory-Override-Base-Url
$http_x_forwarded_proto://$host:444/artifactory
 
You can see
https://www.jfrog.com/confluence/display/RTF/Docker+Repositories#DockerRepositories-1.SettingupNGINXasaReverseProxy
for more info.

Thanks
Mor



--
View this message in context: 
http://forums.jfrog.org/Docker-broken-again-in-4-4-0-tp7580708p7580709.html
Sent from the Artifactory - Users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users

Reply via email to