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

[HELP] Trailing slash #396

Open
jacojazz opened this issue Nov 19, 2024 · 7 comments
Open

[HELP] Trailing slash #396

jacojazz opened this issue Nov 19, 2024 · 7 comments
Labels
help wanted Extra attention is needed

Comments

@jacojazz
Copy link

When trying to host a docker service proxied through zoraxy, it's trying to call an api but the resulting call is for https://url.org//graphql with two slashes being added obvs causing a 404. I've ensured that there is no trailing slash in the docker's service. Is there a way to turn off zoraxy adding a trailing slash to the base url?

  • Are you using the docker build of Zoraxy? Yes, docker
  • Your Zoraxy version? Latest
  • Are you using Cloudflare? Yes

image

@jacojazz jacojazz added the help wanted Extra attention is needed label Nov 19, 2024
@tobychui
Copy link
Owner

@jacojazz When you setup your proxy rule, did you accidentally included a tailing slash in the upstream ip / domain?

@jacojazz
Copy link
Author

Not that I can see. I've also recreated the proxy rule again just to make sure.

image

@tobychui
Copy link
Owner

@jacojazz your UI didn't seems right. You sure you are using the latest version of Zoraxy?

@jacojazz
Copy link
Author

Apologies, I was on an older version, but I've just updated to the latest tag and still the same issue occurs.

@tobychui
Copy link
Owner

tobychui commented Nov 19, 2024

@jacojazz Can you attach your .har file here so I can see what might be the issue regarding the request / redirection?

@jacojazz
Copy link
Author

jacojazz commented Nov 19, 2024

Sure! Wouldn't let me upload it so: removed

@tobychui
Copy link
Owner

@jacojazz This seems not a redirection from Zoraxy. The double slash was initiated from JavaScript I assume.

圖片

In fact when I visit your site from my side, it works perfectly.
圖片

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants