Skip to content

Download URLs do not work with a proxy server in front #7

@bbrendon

Description

@bbrendon

I spun this up and have haproxy forwarding to express. The SSL is on HAproxy, and express is running as http.

I added the haproxy URL using https as source to choco.

I get back :

...
Installing the following packages:
openssl
By installing, you accept licenses for the packages.
Downloading package from source 'https://url.com/'
[NuGet] Error downloading 'chocolatey-windowsupdate.extension.1.0.5' from 'http://url.com/download/chocolatey-windowsupdate.extension'.
[NuGet] An error occurred while sending the request.

Notice above the https is missing from the nuget line?

Any solutions?

I'm going to attempt an HTTP -> HTTPS redirect but that isn't the best solution.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions