[go-nuts] Re: Why not judge the status of response in getting module?

2022-09-02 Thread xianzhuo wang
Thank you for your reply. My repository uses Gogs. Nginx is used to manage domain name access, and other domain name has HTTPS listening, while Gogs only configures HTTP listening. I understand you are saying that there is a problem with this configuration. I did solve the problem by adding HTT

[go-nuts] Why not judge the status of response in getting module?

2022-09-01 Thread xianzhuo wang
Hi, recently I've been trying to learn the module management.I want to get private module from my own repository. The repository only support HTTP request. I use nginx to proxy to the repository, and nginx listens port 443 and 80. When I try to execute "go get myrepo.com/myrepo", it gives me "40