-
|
Hi, |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 12 replies
-
|
Hi, this question seems related to Traefik and not to SFTPGo. I tested SFTPGo behind HAProxy and it works fine (both SFTP and FTP). SFTPGo supports proxy protocol v1 and v2 too. For WebDAV and the web interfaces you can use a standard HTTP proxy (tested HAProxy, Apache, NGINX). So basically it should work. I have no time to test it myself, please try to follow the instructions here. If you want to proxy the FTP service you have to know how the FTP protocol works |
Beta Was this translation helpful? Give feedback.
-
|
Thank you, it works behind Traefik :
Don't forget to add an entrypoint and the 2022 port to Traefik config. |
Beta Was this translation helpful? Give feedback.
-
|
Thank you for sharing your configuration |
Beta Was this translation helpful? Give feedback.
-
|
Any tips on how to get sftpgo to see the correct client IP? I know this is most probably related to traefik and not sftpgo but maybe another user has figured it out. my set is like this: sftp-client => internet => modem => router/gateway => port forward to traefik => sftpgo I have set: in my docker-compose.yml for sftpgo |
Beta Was this translation helpful? Give feedback.
-
Sorry, my reply got mangled somehow. |
Beta Was this translation helpful? Give feedback.
-
|
Ran into an issue with uploading large files via the sftpgo web gui, ended up needing to increase the traefik readTimeout. Add the following to the command section of docker-compose.yaml for traefik or modify traefik.yaml. The default timeout is listed as 60s and technically setting it to 0s should disable it but didn't work for me on v3.4.1 hence I set it to 600s. If your uploads take longer, then you might need to adjust for your use case scenario. |
Beta Was this translation helpful? Give feedback.
Thank you, it works behind Traefik :
Don't forget to add an entrypoint and the 2022 p…