-
Notifications
You must be signed in to change notification settings - Fork 203
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
generateUrl always returns http protocol #634
Comments
@tus/server does not create SSL certificates so it can't be HTTPS by itself. You need a reverse proxy for that. Helpful links: |
Thanks for the quick response Murderlon. |
If whatever is making requests to your tus server is on the same domain, easiest would be to use |
Ok perfect thank you Murderlon! I will do that then. |
Hi!
I setup tus server in my node project with a custom path.
The problem I found is that on my server the generateUrl function didn't return https as a protocol what made the client fail because it got a 301 code.
I checked the function that should return the right protocol but I can't see that it ever would return https:
tus-node-server/packages/server/src/handlers/BaseHandler.ts
Lines 80 to 106 in ac78b2a
Could it be that that is a bug?
The text was updated successfully, but these errors were encountered: