You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 22, 2021. It is now read-only.
I tried deploying and instance on the bench to play around with send and noticed that when the docker instance is hosting content over http:// and I drag and drop a link, the download URL that's offered is https:// on the same http:// hosting port, resulting in a bad link.
Now, if send is running behind an ssl termination proxy, this is all well and good, but if you are testing locally, this presents a mis-match. I'm wondering if the served download URL on an http-based instance should be http:// and then let whatever front end SSL/TLS termination proxy do the translation.
Here's a pic example of what I'm seeing in case it's not clear:
Note: http:// transport, but https:// download URL.
The text was updated successfully, but these errors were encountered:
This is sort of a "feature" of using the NODE_ENV=production environment variable in that it forces the generated link to be https. We should probably change docker-compose.yml to not set NODE_ENV
Yeah, I can confirm, removing that and rebuilding and docker-compose up that that addresses the issue. Happy to send a PR for the docker-compose.yml (assuming prod deployment over-write this env var)
I tried deploying and instance on the bench to play around with send and noticed that when the docker instance is hosting content over http:// and I drag and drop a link, the download URL that's offered is https:// on the same http:// hosting port, resulting in a bad link.
Now, if send is running behind an ssl termination proxy, this is all well and good, but if you are testing locally, this presents a mis-match. I'm wondering if the served download URL on an http-based instance should be http:// and then let whatever front end SSL/TLS termination proxy do the translation.
Here's a pic example of what I'm seeing in case it's not clear:
Note: http:// transport, but https:// download URL.
The text was updated successfully, but these errors were encountered: