mirror of
https://github.com/dutchcoders/transfer.sh.git
synced 2026-02-05 23:12:18 +00:00
Reverse proxy: support X-Forwarded-Port, or allow some sort of --proxy-port #249
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @zmwangx on GitHub.
I'm hosting transfer.sh on a certain server where unfortunately port 443 is off limits, so I'm exposing the service on port 8443 instead. I'm using nginx as a reverse proxy in front of the transfer.sh server, where the configuration includes
The server doesn't support the
X-Forwarded-Portheader though, so unfortunately all URLs I get don't have the port attached. Is it possible to add support for the header, or maybe add some server option so that a non-default port could be used? Thanks.@paolafrancesca commented on GitHub:
@zmwangx, putting the proxy port in the
Hostheader is enough:@zmwangx commented on GitHub:
Didn't think of that... Thanks.