What’s the nuget package repo link for GH Enterprise #26555
-
We’ve got GitHub Enterprise 3.0.1, and our admin turned on the nuget package support, however I cannot figure out the url to upload packages to. I tried https://nuget.pkg.ourgithub.mycompany.com/mylogin/myrepo/index.json, but curl kept complaining that it can’t resolve the domain name. I have the feeling that our proxy is not configured to accept sub domains, but at the same time the official docs don’t show what exact path should I use in an on premise github server for Packages, so I also suspect I’m using the wrong url. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
Hi @e-master,
If your instance has subdomain isolation disabled, you should be able to use the following url:
See here for more information. I hope that helps! |
Beta Was this translation helpful? Give feedback.
-
jcansdale:
It doesn’t work for me. when I replace hostname with my GH Enterprise URL and OWNER with my organization name or username, it didn’t find index.json. Is there any configuration on GH Enterprise missing? Are the Packages registry are enabled on the Managment Console. |
Beta Was this translation helpful? Give feedback.
-
douglasrdc:
Can I check that your server has subdomain isolation disabled? If it doesn’t, the feed URL would look like this |
Beta Was this translation helpful? Give feedback.
-
Hi @jcansdale , Thank you for your help. I got it working now. have to set up a subdomain like you said: https://nuget.mydomain/organization/index.json and set up SSL on this URL. Now it is working fine. |
Beta Was this translation helpful? Give feedback.
Hi @e-master,
If your instance has subdomain isolation disabled, you should be able to use the following url:
See here for more information.
I hope that helps!