Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x/tools/cmd/godoc: subPath support for hosting #47132

Open
WELKERV opened this issue Jul 12, 2021 · 1 comment
Open

x/tools/cmd/godoc: subPath support for hosting #47132

WELKERV opened this issue Jul 12, 2021 · 1 comment
Labels
FeatureRequest NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. Tools This label describes issues relating to any tools in the x/tools repository.
Milestone

Comments

@WELKERV
Copy link

WELKERV commented Jul 12, 2021

$ go version 1.16.5

Does this issue reproduce with the latest release?

yes

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

go env Output
Dockerfile with golang:1.16.5-alpine3.14 image

What did you do?

We tried to deploy godoc via Docker image with CMD ["godoc", "-http", ":8080"]

This works fine on root (e.g. www.someURL.com/), but we are hosting the app on a subPath via Loadbalancer and Ingress (e.g. www.someUrl.com/godoc)
This leads to the godoc command not responding right, see screenshot under "What did you see instead?"

What did you expect to see?

A working godoc-server under subUrl.

What did you see instead?

image

@gopherbot gopherbot added the Tools This label describes issues relating to any tools in the x/tools repository. label Jul 12, 2021
@gopherbot gopherbot added this to the Unreleased milestone Jul 12, 2021
@seankhliao seankhliao added FeatureRequest NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. labels Jul 12, 2021
@seankhliao
Copy link
Member

cc @dmitshur

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
FeatureRequest NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. Tools This label describes issues relating to any tools in the x/tools repository.
Projects
None yet
Development

No branches or pull requests

3 participants