Closed xzeldon closed 3 months ago
This was intentional. As the server is actively used by a few hundred people, we had to limit the throughput.
Try removing this line before self-hosting https://github.com/azimjohn/jprq/blob/master/server/tunnel/tunnel.go#L141
So I comment this line, but seems nothing changes.
I would drop Nginx altogether, jprq doesn't need a proxy, it is a proxy.
I don't know what happened, but the speed normalised. I didn't change any configurations, including disabling NGINX.
As for disabling NGINX, if you don't have a need for it, it is really worth disabling it. But in my case there are other web applications on the server and I need something like NGINX (or Caddy, Traefik etc.) to make these applications work correctly.
I guess the issue is solved.
I have been able to run this software on my server. Thank you for the opportunity. Everything works fine except for one thing:
When I try to download a file, the download speed is very slow (300KB/s on average).
Is this an architectural limitation? Or is it a problem on my end? I have good internet speed on both the server and the client. I uploaded a local file to the same server (where jprq is hosted) at ~30MB/s and downloaded at about the same speed.
I am using the following NGINX configuration:
Of course, I ran it without NGINX as well, but the problem persisted. So presumably NGINX is not the weak link in this case.