Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Signifficantly slower speeds when behind nginx #686

Open
yurividal opened this issue Dec 2, 2024 · 0 comments
Open

Signifficantly slower speeds when behind nginx #686

yurividal opened this issue Dec 2, 2024 · 0 comments

Comments

@yurividal
Copy link

Hi. I am running this project using the ghcr.io/librespeed/speedtest docker image.
In order to expose it to the internet, i have put it behind an nginx reverse proxy. But i noticed the speed tests are significantly slower when behing the nginx and https.

what is the recommended way of exposing the docker version of librespeed? The image doesn't seem to include any ssl modules.

This is my nginx config:

location / {
        proxy_set_header Host $http_host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-Host $http_host;
        proxy_set_header X-Forwarded-Server $http_host;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header X-Forwarded-Proto $scheme;
        gzip off;
        proxy_redirect off;
        proxy_buffering off;
        client_max_body_size 256M;
        proxy_pass http://librespeed:8080/;
    }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant