Nginx config for Cloud Torrent

Cloud Torrent is a a self-hosted remote torrent client, written in Go (golang). You start torrents remotely, which are downloaded as sets of files on the local disk of the server, which are then retrievable or streamable via HTTP.

If your Cloud Torrent setup not working with Nginx, try the below codes.

Nginx as Reverse Proxy

location / {

location /sync {
    proxy_http_version 1.1;
    proxy_set_header Upgrade $http_upgrade;
    proxy_set_header Connection $connection_upgrade;

Native Nginx

location / {
    proxy_set_header Cache-Control: no-cache;
    chunked_transfer_encoding off;
    proxy_cache off;
    proxy_buffering off;
    proxy_set_header Connection keep-alive;
    proxy_connect_timeout 3600;
    proxy_send_timeout 3600;
    proxy_read_timeout 3600;
    keepalive_timeout 3600;


Note: Make sure you change the port 63000, if you used different one.


Share your thoughts by leaving a comment below.