self hosted transfer.sh reports the wrong URL when run behind TLS terminating web proxy #174

Closed
opened 2026-01-19 18:29:17 +00:00 by michael · 2 comments
Owner

Originally created by @dburman on GitHub.

self hosted transfer.sh reports the wrong URI when run behind TLS terminating web proxy

Example:
Running HA Proxy to to centralized TLS termination.
transfer.sh is running in a docker
Public Internet URI: https://transfer.example.com
reported URIs on the webpage & tool: http://transfer.example.com/*

override option for hostname & protocol (https) ?

Originally created by @dburman on GitHub. self hosted transfer.sh reports the wrong URI when run behind TLS terminating web proxy Example: Running HA Proxy to to centralized TLS termination. transfer.sh is running in a docker Public Internet URI: https://transfer.example.com reported URIs on the webpage & tool: http://transfer.example.com/* override option for hostname & protocol (https) ?
Author
Owner

@cheeseandcereal commented on GitHub:

Set your proxy to add the X-Forwarded-Proto: https header to your transfer.sh server instance when proxying traffic

@cheeseandcereal commented on GitHub: Set your proxy to add the `X-Forwarded-Proto: https` header to your transfer.sh server instance when proxying traffic
Author
Owner

@dburman commented on GitHub:

Thanks!

@dburman commented on GitHub: Thanks!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: dutchcoders/transfer.sh#174