I have created my own artifactory in docker:
$ docker run --name artifactory -d -p 8081:8081 docker.bintray.io/jfrog/artifactory-pro:latest
I can access my artifactory on http://192.168.140.xx:8081/artifactory
I have some free trial license for 30 days (after doing some registration).
I've skipped the proxy part
I've created a remote repository which configuration looks like this:
Now I try to visit:
http://192.168.140.xxx:8081/artifactory/yarn-test/v0.23.4/yarn-v0.23.4.tar.gz
In which I want to access:
https://github.com/yarnpkg/yarn/releases/download/v0.23.4/yarn-v0.23.4.tar.gz
(So accessing my artifactory and go to my yarn-test repo and I provide the path to the release I want to download:
But I receive:

What is the reason? What am I doing wrong? I know I can use VCS to get a GitHub repo and use the API to access a release but I really need the v0.23.4/yarn-v0.23.4.tar.gz at the end of my URL .



simple-layoutwhich means the upstream request will be in format[orgPath]/[module]/[module]-[baseRev].[ext]. That format doesn't match the original request you are making. Even if it did, it means that the upstream request would be something likehttps://github.com/yarnpkg/yarn/releases/download/yarnpkg.yarn/yarn/yarn-v0.23.4.tar.gz. You might be able to get this to work with a custom layout and then making the upstream justhttps://github.com. But I can't really spend the time to try that out, sorry. - Andy Shinn