Skip to content

x/tools/cmd/godoc: add https support? #19315

@Happy-Ferret

Description

@Happy-Ferret

Please answer these questions before submitting your issue. Thanks!

What version of Go are you using (go version)?

go1.8 linux/amd64

What operating system and processor architecture are you using (go env)?

GOARCH="amd64"
GOOS="linux"

What did you do?

I'm trying to serve godoc on a server that enforces https redirection

godoc -http=:60000

What did you expect to see?

When I browsed to https://<url>:60000, I expected to see a working godoc landing page.

What did you see instead?

A page informing me of ERR_SSL_PROTOCOL_ERROR
"Unable to make a secure connection to the server"

Is there a way to serve godocs over https, using the godoc utility?

Metadata

Metadata

Assignees

No one assigned

    Labels

    FeatureRequestIssues asking for a new feature that does not need a proposal.FrozenDueToAgeNeedsFixThe path to resolution is known, but the work has not been done.ToolsThis label describes issues relating to any tools in the x/tools repository.help wanted

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions