Skip to content

PathPrefix Issues #1648

Answered by chennin
ftrier asked this question in General
Jul 8, 2020 · 2 comments · 1 reply
Discussion options

You must be logged in to vote

I also had this problem. It seems a beginning slash is required.

REPRODUCE FAILURE:

  go-proxy:
    image: gomods/athens:latest
    environment:
      ATHENS_PATH_PREFIX: "go"
~ $ curl http://go-proxy:3000/go/readyz
404 page not found

SUCCESS:

  go-proxy:
    image: gomods/athens:latest
    environment:
      ATHENS_PATH_PREFIX: "/go"
~ $ curl -v http://go-proxy:3000/go/readyz
...
< HTTP/1.1 200 OK
...

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@ftrier
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by matt0x6F
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants