mirror of
https://github.com/dutchcoders/transfer.sh.git
synced 2026-02-03 06:03:25 +00:00
Can't configure nginx reverse proxy to transfer.sh #225
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 @HamedSepehr on GitHub.
I have transfer.sh running on my vps using docker on port 8081 and this is how I ran it and it works fine:
docker run -d --publish 8081:8080 -v /etc/transfer/tmp:/tmp --name=transfer-test dutchcoders/transfer.sh:latest --provider local --basedir /tmp/For webserver I'm using linuxserver/letsencrypt which is based on nginx. I wan to proxy
domain.com/transferto transfer.sh. This is the configuration I'm using:And this is the result:

I have no idea what's wrong...
@crabvk commented on GitHub:
--listener's value has a colon before port number. I spent half an hour trying to figure out what's wrong, because transfer.sh doesn't show any error in case you forgot a colon😟@HamedSepehr commented on GitHub:
I did all of them and now it works without any problem, thanks.
@crabvk commented on GitHub:
Try to add trailing slashes, one for location
location /transfer/, another for proxy_passproxy_pass http://vps_ip:8081/;Also remove
Upgradeheader.Or you could use
transfersh --proxy-path transfer(path prefix when service is run behind a proxy).@paolafrancesca commented on GitHub:
thanks @vyachkonovalov for the support